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
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: 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 10:01:33 2025 UTC