php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23 Ifelse bug?
Submitted: 1998-01-30 12:23 UTC Modified: 1998-01-30 14:03 UTC
From: svein dot parnas at sting dot bibsent dot no Assigned:
Status: Closed Package: Other
PHP Version: 3.0 Latest CVS OS: Linux RH5
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: svein dot parnas at sting dot bibsent dot no
New email:
PHP Version: OS:

 

 [1998-01-30 12:23 UTC] svein dot parnas at sting dot bibsent dot no
In a script like this:

if (expr1):
 <dothings1>
elseif (expr2):
 <dothings2>
elseif (expr3):
 <dothings3>
elseif ($a = my_procedure(does some mysql things)):
 <dothings4>
endif;

my_procedure is executed even if expr3 is true
(but dothings3 is done and not dothings 4 as expected).



Svein

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-01-30 14:03 UTC] jim
Fixed in latest CVS and PHP/3.0b4.
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC