From: fbn79 at libero dot it Operating system: winxp pro PHP version: 5CVS-2004-04-26 (dev) PHP Bug Type: Zend Engine 2 problem Bug description: reference in this form ( )->
Description: ------------ I'm not sure if it's a buf or if the function name "clone" was reserved in php5. The parse errore exist in RC1 and RC2 whith or without Compatibility Mode OFF or ON Reproduce code: --------------- class myclass{ function &clone() { .... } } Actual result: -------------- Parse error: parse error, unexpected T_CLONE, expecting T_STRING in ... on line ... -- Edit bug report at http://bugs.php.net/?id=28155&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28155&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28155&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28155&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28155&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28155&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28155&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28155&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28155&r=support Expected behavior: http://bugs.php.net/fix.php?id=28155&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28155&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28155&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28155&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28155&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28155&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28155&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28155&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28155&r=float