php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67153 SIGSEGV
Submitted: 2014-04-30 07:34 UTC Modified: 2014-04-30 17:20 UTC
From: sergey dot wild dot man at gmail dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.5.11 OS: SMP Debian 3.2.51-1 x86_64
Private report: No CVE-ID: None
 [2014-04-30 07:34 UTC] sergey dot wild dot man at gmail dot com
Description:
------------
SIGSEGV when running code

Test script:
---------------
interface III extends \Countable{
	
}

class AAA implements III {
	public function count(){
		return count($this);
	}
}

$a = new AAA();
$a->count();



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-30 08:35 UTC] requinix@php.net
-Status: Open +Status: Not a bug
 [2014-04-30 08:35 UTC] requinix@php.net
It crashed because you wrote infinitely-recursive code.
 [2014-04-30 11:47 UTC] sergey dot wild dot man at gmail dot com
>>It crashed because you wrote infinitely-recursive code.
ok, but why segmentation violation with dying process?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 00:01:41 2024 UTC