ID: 28997 User updated by: jonathan dot lung at utoronto dot ca -Reported By: lungj at jademtech dot dyndns dot org +Reported By: jonathan dot lung at utoronto dot ca Status: Open Bug Type: Zend Engine 2 problem Operating System: MacOS X 10.3 PHP Version: 5.0.0RC3 New Comment:
_ Previous Comments: ------------------------------------------------------------------------ [2004-07-02 20:06:21] jonathan dot lung at utoronto dot ca Description: ------------ The exception handler seems to behave strangely. Reproduce code: --------------- <? echo "loopy"; try { echo " code\n"; } catch (Exception $e) { echo "Really."; } ?> Expected result: ---------------- The words "loopy code\n" to be printed out. Actual result: -------------- The words "loopy code\n" run in a continuous loop (yes, even the word "loopy"). This problem seems to go away with the following: <? if (true) { echo "loopy"; try { echo " code\n"; } catch (Exception $e) { echo "Really."; } } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28997&edit=1