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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
28 + 43 = ?
Subscribe to this entry?

 
 [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: Mon Sep 16 14:01:28 2019 UTC