#31267 [NEW]: Parse error after adding '@' to echo
| From: | josef dot buk at ge dot com | Date: | Thu, 23 Dec 2004 12:37:56 +0000 |
| Subject: | #31267 [NEW]: Parse error after adding '@' to echo | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-70969@lists.php.net to get a copy of this message | ||
From: josef dot buk at ge dot com
Operating system: W2k
PHP version: 5.0.3
PHP Bug Type: Compile Failure
Bug description: Parse error after adding '@' to echo
Description:
------------
After putting '@' before echo command PHP compilator writes this message:
Parse error: syntax error, unexpected T_ECHO in
D:\110028239\Documents\Prgm\Apache2\htdocs\Include\class.document.php on
line 53
Reproduce code:
---------------
echo("________
trace".$this->df->tracelevel.",log=".$this->df->logfile.",file=".__FILE__.",".__LINE__.",qq=$qq");
Expected result:
----------------
There should be no inflence in compilatin (I suppose).
Actual result:
--------------
without '@' all is O.K. Otherwise the parse error appears.
--
Edit bug report at http://bugs.php.net/?id=31267&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31267&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31267&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31267&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31267&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31267&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31267&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31267&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31267&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31267&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31267&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31267&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31267&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31267&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31267&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31267&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31267&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31267&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31267&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31267&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31267&r=mysqlcfg