|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18202 suppressing errors with "@"
Submitted: 2002-07-06 17:24 UTC Modified: 2002-07-06 17:26 UTC
From: webmaster at speedy dot co dot il Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.1.2 OS: Red Hat Linux 7.3
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.
Block user comment
Status: Assign to:
Bug Type:
From: webmaster at speedy dot co dot il
New email:
PHP Version: OS:


 [2002-07-06 17:24 UTC] webmaster at speedy dot co dot il

I tried to suppress warnings in isset expressions (Uninitialized string offset warnings).  The original line was something like this:


When I added the "@" sign like this:


My program stopped working, and I got errors like:

PHP Parse error:  parse error, expecting `T_VARIABLE' or `'$'' ....

Eventually, I put the "@" in this place:


Which works, but why didn't it work the other way?  Is it some kind of PHP bug?

I'm using PHP Version 4.1.2


Uri Even-Chen
Speedy Software
Raanana, Israel.
Welcome to Speedy Net (In Hebrew):
Speedy Dating (In Hebrew):
Speedy Composer (In English):


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-06 17:26 UTC]
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit

Thank you for your interest in PHP.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 27 22:01:33 2024 UTC