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
Votes:2
Avg. Score:2.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:2 (200.0%)
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
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: 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

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-01-30 14:03 UTC] jim
Fixed in latest CVS and PHP/3.0b4.
 [2024-08-21 18:53 UTC] git@php.net
Automatic comment on behalf of cmb69 (author) and web-flow (committer)
Revision: https://github.com/php/php-sdk-binary-tools/commit/20d13baab20da40a9db48feec0e8383bdf63a214
Log: Fix #23: Windows permissions incorrect after cloning (#24)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC