ID:          27334
 Updated by:  [EMAIL PROTECTED]
 Reported By: trancer at trancer dot nl
 Status:      Open
-Bug Type:    Website problem
+Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

Reclassified as documentation problem, that information SHOULD be in
the manual!



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

[2004-02-23 03:09:44] [EMAIL PROTECTED]

Reclassifying as a php.net website problem as the zend-engine-2.php
file is under phpweb/.

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

[2004-02-20 14:56:12] trancer at trancer dot nl

Description:
------------
Had the following: fatal error: Cannot call __clone() method on objects
- use 'clone $obj' instead.

Dig some digging, stumbled upon http://www.php.net/ChangeLog-5.php
mentioning the following:

"Redesigned clone by adding a clone keyword (clone $obj) and copying
all properties before __clone() is called. Also allows calling parent
__clone function by using parent::__clone(). (Zeev, Andi)"

However the document http://www.php.net/zend-engine-2.php is in
conflict with this mentioning a lot about __clone()

"An object copy is created by calling the object's __clone() method:"

Please fix the zend-engine-2 documentation.







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


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

Reply via email to