ID:               27666
 Updated by:       [EMAIL PROTECTED]
 Reported By:      andrey at itime dot ru
-Status:           Verified
+Status:           Feedback
 Bug Type:         Zend Engine 2 problem
 Operating System: *
 PHP Version:      5CVS-2004-04-07
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip

Seems to be fixed long time ago.


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

[2004-03-23 23:46:31] andrey at itime dot ru

Description:
------------
Two files.
1.php5:
<?
print 'x';
require_once('2.php5');
print 'y';
die('z');
?>

2.php5:
<?
print '1';
throw new Exception('Help me!');
print '2';
?>

After run 1.php5, I expect to see: "x1" printed and uncaughted
exception report. But I see "x1yz" printed and no exception report. 

It seems that php just continue execution after returning from
require_once(). Even if I surround require_once() by try {} catch
block, it still print "x1yz" and die.

Reproduce code:
---------------
 

Expected result:
----------------
 

Actual result:
--------------
 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=27666&edit=1

Reply via email to