#26505 [NEW]: misspelling in http://www.php.net/zend-engine-2.php
| From: | patterson at computer dot org | Date: | Tue, 02 Dec 2003 22:18:10 +0000 |
| Subject: | #26505 [NEW]: misspelling in http://www.php.net/zend-engine-2.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969357163@lists.php.net to get a copy of this message | ||
From: patterson at computer dot org
Operating system: RH 9 Linux
PHP version: 5.0.0b2 (beta2)
PHP Bug Type: Documentation problem
Bug description: misspelling in http://www.php.net/zend-engine-2.php
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 bug report at http://bugs.php.net/?id=26505&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26505&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26505&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26505&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26505&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26505&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26505&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26505&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26505&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26505&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26505&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26505&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26505&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26505&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26505&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26505&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26505&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26505&r=float