php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32559 crash on a simple bit of code
Submitted: 2005-04-04 03:14 UTC Modified: 2005-04-04 07:10 UTC
From: php-louis at steelbytes dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.0.4 OS: WinXP Pro SP2
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: php-louis at steelbytes dot com
New email:
PHP Version: OS:

 

 [2005-04-04 03:14 UTC] php-louis at steelbytes dot com
Description:
------------
try the following code

Reproduce code:
---------------
<?php
	$test = 1;
	switch ($test)
	{
	case 1:
		function bob($x)
		{
			echo $x;
		}
		bob($test);
		break;
	}
?>

Expected result:
----------------
page fault at 0x1003B927 _zval_ptr_dtor()

Actual result:
--------------
see above

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-04-04 07:04 UTC] tony2001@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

See bug #29944.
 [2005-04-04 07:07 UTC] php-louis at steelbytes dot com
whoops,  I did look, I just did't see that one.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 16:01:34 2025 UTC