On Apr 13, 2004, at 5:18 PM, Adam Maccabee Trachtenberg wrote:


On Tue, 13 Apr 2004, George Schlossnagle wrote:

On Apr 13, 2004, at 4:52 PM, Adam Maccabee Trachtenberg wrote:

I guess I'm confused about why some E_ERRORs are now able to be handled in userland, but only by using exceptions.

It's important to note that this is now technically feasible but not (yet) part of PHP. (You can actually do it as an extension though. :)

Okay, so it's just an unenabled feature, not an impossible one. :)

Uncommitted, technically. I have a patch against an old ZE2 build lying around and the extension version is in chap 23 of my book.


For the type of error in question consider this:

<?php
  $a = array() + 1;
?>

this is fatal in PHP, but can be completely recoverable from an engine-consistency standpoint.

George

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to