Bug #12407: if else statement correct in 4.0.5 but not 4.0.6
| From: | zheng at sfsu dot edu | Date: | Thu, 26 Jul 2001 18:40:01 +0000 |
| Subject: | Bug #12407: if else statement correct in 4.0.5 but not 4.0.6 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-61093@lists.php.net to get a copy of this message | ||
From: zheng@sfsu.edu
Operating system: win2000
PHP version: 4.0.6
PHP Bug Type: *General Issues
Bug description: if else statement correct in 4.0.5 but not 4.0.6
the script below runs correctly in 4.0.5 but there is "parse error" in
4.0.6. It seems that you can't break if else into two parts.
<?php
if (1==1)
echo 1;
?>
<?
else
echo 0;
?>
--
Edit bug report at: http://bugs.php.net/?id=12407&edit=1