php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3186 oop crazyness
Submitted: 2000-01-12 00:09 UTC Modified: 2002-09-30 20:42 UTC
From: zerodiv at zerodivide dot net Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.14 OS: all
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: zerodiv at zerodivide dot net
New email:
PHP Version: OS:

 

 [2000-01-12 00:09 UTC] zerodiv at zerodivide dot net
<?php

class MyClass {
}
class MyOtherClass {
	Function MyOtherClass() {
		$this = new MyClass();
	}
}

$foo = new MyOtherClass();

//
// Please note that i'm not expecting this to work as
// much as i did a what if i do this analysis 
//
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-30 20:42 UTC] hholzgra@php.net
works fine in 4.2.3
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Dec 07 10:00:02 2025 UTC