Bug #67153 [Com]: SIGSEGV

From: Date: Wed, 30 Apr 2014 11:47:37 +0000
Subject: Bug #67153 [Com]: SIGSEGV
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185516@lists.php.net to get a copy of this message
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)

« previous php.bugs (#185516) next »