ID:               32874
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mbm at interflow dot dk
-Status:           Open
+Status:           Bogus
 Bug Type:         Reproducible crash
 Operating System: Multiple OS
 PHP Version:      5.0.4
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.


Previous Comments:
------------------------------------------------------------------------

[2005-04-28 20:28:23] mbm at interflow dot dk

Description:
------------
Recursively calling two functions in a class leads to a segmentation
fault.

Reproduce code:
---------------
class SegFault {

  public function call(){
    $this->back();
  }

  public function back(){
    $this->call();
  }
}
$seg = new SegFault();
$seg->Call();


Expected result:
----------------
I'd expect some kind of error when php runs out of buffer for the
callstack - this function clearly is an example of bad code in the
script - however php shouldnt die by segmentation fault.


Actual result:
--------------
Segmentation fault


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=32874&edit=1

Reply via email to