ID: 12407
Updated by: andy
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Analyzed
Bug Type: *General Issues
Operating System: win2000
PHP Version: 4.0.6
New Comment:

reproduced.

If you put the if and else statement between the same <? ?>
tags, it works fine.

Previous Comments:
------------------------------------------------------------------------

[2001-07-26 14:40:01] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=12407&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to