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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mchurichi at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 10:01:29 2025 UTC