From: jmmolina at free dot fr Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Confusion between the verb extend and the extends keyword
Description: ------------ In the � Language Reference > The Classes and Objects (PHP 5) > The Basics � chapter, the author writes about class inheritance using the extends keyword, but it mixes the verb extend and the extends keyword. The section name is extend and it should be extends, like the keyword because the other sections are named as the keywords they explain : class, new... Second the first sentence, � A class can inherit methods and members of another class by using the extend keyword in the declaration. �, is not correct as the keyword is extends, with a s, not extend. -- Edit bug report at http://bugs.php.net/?id=30511&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30511&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30511&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30511&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30511&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30511&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30511&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30511&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30511&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30511&r=support Expected behavior: http://bugs.php.net/fix.php?id=30511&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30511&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30511&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30511&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30511&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30511&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30511&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30511&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30511&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30511&r=mysqlcfg
