ID: 30443 Updated by: [EMAIL PROTECTED] Reported By: alex at passant dot org -Status: Open +Status: Bogus Bug Type: Documentation problem PHP Version: 5.0.1 New Comment:
I quote "Every class definition begins with the keyword class". It seems it does begin with the keyword 'class' ('class' is the keyword). And THEN it shows the name of the class to be defined, in this example being 'SimpleClass'. So, first the keyword, followed by a valid class name. There is no such bug in documentation. Previous Comments: ------------------------------------------------------------------------ [2004-10-15 11:50:39] alex at passant dot org 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 this bug report at http://bugs.php.net/?id=30443&edit=1