php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #700 class constructors cause PHP to crash
Submitted: 1998-08-27 21:28 UTC Modified: 1998-09-01 11:10 UTC
From: z-kimmel at uiuc dot edu Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.3 OS: NT 4.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: z-kimmel at uiuc dot edu
New email:
PHP Version: OS:

 

 [1998-08-27 21:28 UTC] z-kimmel at uiuc dot edu
This is a pretty nasty bug. This following code will cause PHP to crash under NT.

<?php

class example {

var $x;

function example($a) {
	$this->x=$a;
}

function test() {
	$blah = new example(5);
}

}


print("Done.");

?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-09-01 11:10 UTC] zeev
Fixed - thanks for reporting!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 14:01:34 2025 UTC