php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31267 Parse error after adding '@' to echo
Submitted: 2004-12-23 13:37 UTC Modified: 2004-12-23 13:53 UTC
From: josef dot buk at ge dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.3 OS: W2k
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: josef dot buk at ge dot com
New email:
PHP Version: OS:

 

 [2004-12-23 13:37 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-23 13:53 UTC] derick@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 06:01:35 2024 UTC