php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61075 Exceptions cannot be inherited
Submitted: 2012-02-13 19:23 UTC Modified: 2017-01-10 07:58 UTC
From: mchurichi at gmail dot com Assigned:
Status: Suspended Package: bcompiler (PECL)
PHP Version: 5.3.10 OS: Ubuntu 11.04 amd64
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2012-02-13 19:23 UTC] mchurichi at gmail dot com
Description:
------------
If you compile a Exception who inherits the Exception class throws an PHP error.
bcompiler 1.0.2s.

Test script:
---------------
<?php
class TestException extends Exception {}
echo "ok!";
?>

Expected result:
----------------
ok!

Actual result:
--------------
500 Error code.

In error log file:
PHP Fatal error:  unable to inherit Exception in Unknown on line 0

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 07:58 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-01-10 07:58 UTC] kalle@php.net
Suspending this report as the extension have not had a release for almost 6 years.  Please revive this if the extension once again shows life
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 17:01:30 2024 UTC