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

Add a Patch

Pull Requests

Add a Pull Request

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 Apr 16 05:01:29 2024 UTC