Hi!
On my local server i installed PHP 5 (beta 4) to try the new exception handling and oop.
I programm Java a long and missed in PHP a correct exception handling (like Java).
Unfortunately I must assert that the internal PHP functions catch no exceptions?! The following code show only a error message in my browser:
try {
include("file.php");
} catch (Exception $e) {
echo "error occurred!"
}
So my question, how I can catch exceptions, they throw php functions?
Have everyone a simple code example? Google or php.net can't help me!
Thanks!
Dennis
(Sorry, my english is not so good!)