PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » SOAP » Bug #5864

Function class_exists and autoload

Details

Submitted2005-11-04 12:25 UTC
Fromfredy dot c at seznam dot cz
Assignedyunosh
StatusWont fix
PackageSOAP
PHP Version5.0.5
OSWinXP / Linux
Roadmaps(Not assigned)

Comments

[2005-11-04 12:25 UTC] fredy dot c at seznam dot cz

Description:
------------
Hi all
I run to this yesterday, when i first used this package. I have redefined function __autoload, where i am looking for class file in different directories. At the end, i raise fatal error and halt application.

This package is calling function class_exists without second parameter for disabling autoload feature (unfortunately it was added in PHP5). So it's looking for other PEAR packages, which i don't want to use.

I suggest resolving version of PHP, and if found version >5, so put there please second parameter for disabling autoload feature.