ID: 26505 Updated by: [EMAIL PROTECTED] Reported By: patterson at computer dot org -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: RH 9 Linux PHP Version: 5.0.0b2 (beta2) New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2003-12-02 17:18:10] patterson at computer dot org Description: ------------ In the Web page http://www.php.net/zend-engine-2.php in the example <?php class baseClass { } $a = new baseClass; if ($a instanceof basicClass) { echo "Hello World"; } ?> The word "basicClass" should be changed to "baseClass". Bill Reproduce code: --------------- <?php class baseClass { } $a = new baseClass; if ($a instanceof basicClass) { echo "Hello World"; } ?> Expected result: ---------------- Hello World Actual result: -------------- Fatal error: Class 'basicclass' not found in /home/billy/public_html/php5/instanceof.php on line 6 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26505&edit=1
