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

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 06:01:35 2024 UTC