Builtin functions in php5 will not throw exceptions. The basic idea is that exceptions are part of the OOP portion of PHP. What you will need to do is to wrap these functions into classes. Fortunately, many existing class libraries such as PEAR can be tweaked to throw exceptions with little or no effort.
>I want to write: >... > $res = some_builtin_func(); // func raises exception on error >... > >So will PHP5 (or future versions) work as in my 2nd example? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php