From: jaanus at heeringson dot com Operating system: Linux PHP version: 5CVS-2003-12-28 (dev) PHP Bug Type: Class/Object related Bug description: __autoload not invoked for missing parent classes
Description: ------------ Autoload is not invoked for missing parent class in object declaration. This worked with php5-beta2. Reproduce code: --------------- Child_class and Parent_class are in separate documents. Autoload function is working. class Child_class extends Parent_class { } $class=new Child_class(); Expected result: ---------------- No errors, everything loads. Actual result: -------------- Fatal error: Class 'Parent_class' not found in [path to Child_class document] on line 2 -- Edit bug report at http://bugs.php.net/?id=26736&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26736&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26736&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=26736&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=26736&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=26736&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=26736&r=needscript Try newer version: http://bugs.php.net/fix.php?id=26736&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=26736&r=support Expected behavior: http://bugs.php.net/fix.php?id=26736&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=26736&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=26736&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=26736&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26736&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=26736&r=dst IIS Stability: http://bugs.php.net/fix.php?id=26736&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=26736&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=26736&r=float