|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56762 try catch error with bcompiler
Submitted: 2006-01-02 08:12 UTC Modified: 2006-07-31 13:28 UTC
From: xavier dot bordes at urssaf dot fr Assigned: val (profile)
Status: Closed Package: bcompiler (PECL)
PHP Version: 5.0.4 OS: Linux RedHat ES 4.0
Private report: No CVE-ID: None
 [2006-01-02 08:12 UTC] xavier dot bordes at urssaf dot fr
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:
   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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-31 13:28 UTC]
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 16:01:28 2024 UTC