|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5936 Mutation to class that extends current class causes crash
Submitted: 2000-08-03 07:37 UTC Modified: 2000-08-03 11:50 UTC
From: php-bugs at bjoernsworld dot de Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.1pl2 OS: Winnt 4.0 SP 4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: php-bugs at bjoernsworld dot de
New email:
PHP Version: OS:


 [2000-08-03 07:37 UTC] php-bugs at bjoernsworld dot de

class c1 {
  function c1() {
    $this = new c2;

class c2 extends c1 {

$c = new c1;

Under Windows i get "unknown software exception" (0xc00000fd)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-03 11:50 UTC]
Cirular dependencies cannot (currently) be caught by PHP, I think, thus PHP has not option but crashing ;)
Anyway, why do you want to do such a thing, creating an instance that creates instances infinitely until it runs out of mem or whatever?

PHP did that 3693 times before crashing.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 13 15:01:30 2024 UTC