ID:               35367
 Updated by:       [EMAIL PROTECTED]
 Reported By:      andrus at wap3 dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Class/Object related
 Operating System: Debian Linux
 PHP Version:      4.4.1
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

I can't see any crashes or exits with this code.


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

[2005-11-24 15:55:11] andrus at wap3 dot net

Description:
------------
Function terminates while calling itself from itself inside class

Reproduce code:
---------------
make class:

class test {

        function foo ($a = 0) {
              $a++;
              if ($a < 10)
                 $a = $this->foo ($a);
              return $a;
         }

     }


use it:
$a = new test;
print $a->foo (1);



Expected result:
----------------
any result, not termination

Actual result:
--------------
php script terminates on $this->foo place


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


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

Reply via email to