ID:               29984
 Updated by:       [EMAIL PROTECTED]
 Reported By:      a at b dot c dot de
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: N/A
 PHP Version:      5.0.1
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




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

[2004-09-05 13:42:01] a at b dot c dot de

Description:
------------
Manual page: language.oop5.interfaces.php, second paragraph, last
sentence.

Reads:
"Classes may implement more than one interface if desired by listing
each interface split by a space."

Should read:
"Classes may implement more than one interface if desired by listing
each interface split by a comma."


Reproduce code:
---------------
interface if1{function f1();}
interface if2{function f2();}

class foo implements f1 f2
{
function f1(){}
}


Expected result:
----------------
An error message:
Fatal error: Class foo contains 1 abstract methods and must therefore
be declared abstract (if2::f2) in ....


Actual result:
--------------
An error message:
Parse error: parse error, unexpected T_STRING, expecting '{' in ....


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


-- 
Edit this bug report at http://bugs.php.net/?id=29984&edit=1

Reply via email to