| Bug #37612 | Segfault - infinite recursion | ||||
|---|---|---|---|---|---|
| Submitted: | 27 May 2006 11:16am UTC | Modified: | 27 May 2006 12:27pm UTC | ||
| From: | kevin at oceania dot net | Assigned to: | |||
| Status: | Bogus | Category: | Reproducible crash | ||
| Version: | 6, 5.2.0-cvs | OS: | Linux | ||
[27 May 2006 11:16am UTC] kevin at oceania dot net
[27 May 2006 12:14pm UTC] bjori@php.net
Shorter reproducible code:
<?php
class foo {
public function bar() {
return $this->bar();
}
}
$foo = new foo();
$foo->bar();
?>
[27 May 2006 12:27pm UTC] tony2001@php.net
Yes, smashing the stack produces segfault and this is expected.
