ID:              30443
 User updated by: alex at passant dot org
 Reported By:     alex at passant dot org
-Status:          Bogus
+Status:          Closed
 Bug Type:        Documentation problem
 PHP Version:     5.0.1
 New Comment:

You're right, I thaught it was dealing about class name, (instead of
class definition).

Sorry.


Previous Comments:
------------------------------------------------------------------------

[2004-10-15 12:24:32] [EMAIL PROTECTED]

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.

------------------------------------------------------------------------

[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

Reply via email to