diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-12-30 06:06:51 -0800 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2013-12-30 06:06:51 -0800 |
commit | 678fb09044c87a2f4bf843bb55eb4b057f1c131a (patch) | |
tree | 31d23b285b4215a1a563b6338e2ac086e07f6736 /Examples/Exceptions/ExceptionCatch/exception.php | |
parent | 00be9c5573d6858c89e2f305b4504b0a477ff230 (diff) |
exceptions thrown in PHP code can now be caugth and processed by C++ code
Diffstat (limited to 'Examples/Exceptions/ExceptionCatch/exception.php')
-rw-r--r-- | Examples/Exceptions/ExceptionCatch/exception.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/Exceptions/ExceptionCatch/exception.php b/Examples/Exceptions/ExceptionCatch/exception.php index 0fec704..f0bfe90 100644 --- a/Examples/Exceptions/ExceptionCatch/exception.php +++ b/Examples/Exceptions/ExceptionCatch/exception.php @@ -14,4 +14,4 @@ my_catch_exception_function(function($a, $b, $c) { // throw an exception from PHP - the C++ code will catch this exception throw new Exception("Example exception"); -});} +}); |