#30443 [NEW]: Documentation error on language.oop5.basic.php
| From: | alex at passant dot org | Date: | Fri, 15 Oct 2004 09:50:40 +0000 |
| Subject: | #30443 [NEW]: Documentation error on language.oop5.basic.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969364542@lists.php.net to get a copy of this message | ||
From: alex at passant dot org
Operating system:
PHP version: 5.0.1
PHP Bug Type: Documentation problem
Bug description: Documentation error on language.oop5.basic.php
Description:
------------
On http://www.php.net/manual/en/language.oop5.basic.php,
you wrote:
"Every class definition begins with the keyword class, followed by a class
name, which can be any name that isn't a reserved word in PHP."
Then:
"
<?php
class SimpleClass
{
"
So I think there's a mistake in the first sentence, as - I assume - class
definition should begin ith the class name, followed by the 'class'
keyword.
--
Edit bug report at http://bugs.php.net/?id=30443&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30443&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30443&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30443&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30443&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30443&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30443&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30443&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30443&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30443&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30443&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30443&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30443&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30443&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30443&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30443&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30443&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30443&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30443&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30443&r=mysqlcfg