|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-07-31 13:28 UTC] val@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 20:00:01 2025 UTC |
Description: ------------ Hello, we are using bcompiler 0.7 on Linux RedHat ES4.0 Update2. We can't catch any exception in a compiled script, but we get a Fatal Error. Reproduce code: --------------- <?php try{ throw(new Exception("Hello World")); }catch(Exception $ex){ echo $ex->getMessage(); } ?> Expected result: ---------------- Hello World Actual result: -------------- Fatal error: Uncaught exception 'Exception' with message 'Hello World' in test.php:3 Stack trace: #0 test.php(3): () #1 {main} thrown in test.php on line 3