|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2023 The PHP Group
All rights reserved.
Last updated: Fri Feb 03 22:03:53 2023 UTC