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
 [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: Thu Apr 25 03:01:29 2024 UTC