Le Fri, 24 Jul 2009 15:23:21 +0200, user a écrit :

I published a (work in progress) RFC today about replacing certain
errors with exceptions. I know that there already was something
similiar on the php6dev blog, but this is not completly the same,
so awating your comments:

http://wiki.php.net/rfc/errors_as_exceptions

I'm agree for replacing error by exception. Even if this not a good
idea, i think there is a big problem with error gesture into php.

Exemple :
http://fr3.php.net/manual/en/function.simplexml-load-string.php

A couple of people have used SimpleXML as an example of how _PHP_ errors
are broken.  The only thing that makes SimpleXML nice is the utter
horror that the other XML parsing extensions give you.

SimpleXML error handling and behavior in general is confusing.  So, if
you want to have a discussion about how SimpleXML is messed up, have it. But, don't lump the whole language in with it.

Brian.
--------
http://brian.moonspot.net/


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

Reply via email to