ID: 30776 Updated by: [EMAIL PROTECTED] Reported By: rob at alterlinks dot fr -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: Linux 2.6.3-7 PHP Version: 5.0.2 New Comment:
I can't reproduce it. But I'd advise you to read this: http://www.php.net/manual/en/language.oop5.paamayim-nekudotayim.php Previous Comments: ------------------------------------------------------------------------ [2004-11-13 20:53:32] rob at alterlinks dot fr Description: ------------ Please see bug #28243 I know, as reported, it is maybe *not* a bug, one has to use the correct syntax ! But, when using <? unset (variable) ?> the parser result : expecting T_PAAMAYIM_NEKUDOTAYIM is not understandable, at least not to me. PHP4 returns an understandble code. Reproduce code: --------------- <? unset (variable); ?> (indeed, the above code is *incorrect*, it's only to provoque de parser's return code) Expected result: ---------------- Parse error: parse error, unexpected T_STRING, expecting T_VARIABLE or '$' in /var/www/sites/premiere/phpinfo.php on line 2 Actual result: -------------- Parse error: parse error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in /var/www/sites/bios/phpinfo.php on line 2 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30776&edit=1
