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
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: sergey dot wild dot man at gmail dot com
New email:
PHP Version: OS:

 

 [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 21:01:36 2024 UTC