php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: keithhasson at noland dot com
New email:
PHP Version: OS:

 

 [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!

       $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.

Patches

Pull Requests

History

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 Nov 22 01:01:30 2024 UTC