#31267 [Opn->Bgs]: Parse error after adding '@' to echo

From: Date: Thu, 23 Dec 2004 12:54:00 +0000
Subject: #31267 [Opn->Bgs]: Parse error after adding '@' to echo
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70970@lists.php.net to get a copy of this message
ID: 31267 Updated by: derick@php.net Reported By: josef dot buk at ge dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: W2k PHP Version: 5.0.3 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php echo is not a function, but a language construct Previous Comments: ------------------------------------------------------------------------ [2004-12-23 13:37:55] josef dot buk at ge dot com 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 this bug report at http://bugs.php.net/?id=31267&edit=1

« previous php.bugs (#70970) next »