ID: 45881 Updated by: [EMAIL PROTECTED] Reported By: frajper at gmail dot com -Status: Open +Status: Bogus Bug Type: *Compile Issues Operating System: RHEL 4 PHP Version: 5.2CVS-2008-08-21 (snap) New Comment:
$user_>setUserEmail ("[EMAIL PROTECTED]"); means, after adding some more spaces for readability, the same as $user_ > setUserEmail ("[EMAIL PROTECTED]"); which compares the two values... Previous Comments: ------------------------------------------------------------------------ [2008-08-21 12:43:56] frajper at gmail dot com Description: ------------ I wrote _> instead of -> when calling a method of an object and the parser didn't realize of it. Reproduce code: --------------- $user_>setUserEmail ("[EMAIL PROTECTED]"); Expected result: ---------------- Parse error: syntax error, unexpected '_' in /home/bla/User.php ... Actual result: -------------- The script is executed without showing errors, but it does not call the method. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45881&edit=1