|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1549 Improper interpretation of line
Submitted: 1999-06-16 12:25 UTC Modified: 1999-06-16 12:32 UTC
From: keithhasson at noland dot com Assigned:
Status: Closed Package: Parser error
PHP Version: 3.0.9 OS: RedHat Linux 5.2
Private report: No CVE-ID: None
 [1999-06-16 12:25 UTC] keithhasson at noland dot com
I keyed this line incorrectly, but it didn't report it as a 
syntax error, instead, it set the value of $TOA to $var!

       if ($TOA=="S" || $TOA=="E" || $TOA=$var):

Notice:  I missed an equal sign on the last comparison...
           But it should have reported it as syntax error.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-16 12:32 UTC] rasmus at cvs dot php dot net
Nothing wrong here
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Feb 23 18:01:28 2024 UTC