[ABE.pm] first legitimate PHP question
Ricardo SIGNES
perl.abe at rjbs.manxome.org
Tue Aug 12 17:45:30 PDT 2008
I have some code roughly in this form:
try {
print "about to try\n";
$x = y();
print "done trying\n";
} catch (Exception $e) {
print "caught exception\n";
}
I see "about to try" but not "done trying" and this happens:
Catchable fatal error: Object of class stdClass could not be converted to
string in /Users/rjbs/code/projects/Rx/php/Rx.php on line 54
Why isn't that exception getting caught?
This code is in git://git.codesimply.com/Rx
--
rjbs
More information about the ABE-pm
mailing list