Bug #67153 [Com]: SIGSEGV
Edit report at https://bugs.php.net/bug.php?id=67153&edit=1
ID: 67153
Comment by: sergey dot wild dot man at gmail dot com
Reported by: sergey dot wild dot man at gmail dot com
Summary: SIGSEGV
Status: Not a bug
Type: Bug
Package: Reproducible crash
Operating System: SMP Debian 3.2.51-1 x86_64
PHP Version: 5.5.11
Block user comment: N
Private report: N
New Comment:
>>It crashed because you wrote infinitely-recursive code.
ok, but why segmentation violation with dying process?
Previous Comments:
------------------------------------------------------------------------
[2014-04-30 08:35:24] requinix@php.net
It crashed because you wrote infinitely-recursive code.
------------------------------------------------------------------------
[2014-04-30 07:34:52] 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();
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67153&edit=1
Thread (4 messages)