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 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.
(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

Add a Patch

Pull Requests

Add a Pull Request

History

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