php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5131 php.exe crashes on bad code fragment
Submitted: 2000-06-19 18:52 UTC Modified: 2000-06-19 18:54 UTC
From: sebastian dot bergmann at web dot de Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (19/06/2000) OS: Windows 2000
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: sebastian dot bergmann at web dot de
New email:
PHP Version: OS:

 

 [2000-06-19 18:52 UTC] sebastian dot bergmann at web dot de
By accident I wrote the following member function in a class,
of course it should not read "$this->query( $query )":

<?php
	class foo
	{
		function query( $query )
		{
			if( $this->query( $query ) )
			{
				return true;
			}
		}
	}

	$bar = new foo();
	$bar->query( "test" );
?>


But I find the behaviour of PHP odd, as I get a "unknown software
exception (0xc00000fd)" in php.exe on Windows 2000 Professional
with the latest snapshot of php-4.0.1-dev.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-19 18:54 UTC] stas at cvs dot php dot net
You did infinite recursion here. PHP doesn't handle this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 15 07:01:27 2024 UTC