ID:               37905
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sf at cut dot hyh dot pl
-Status:           Open
+Status:           Bogus
 Bug Type:         Class/Object related
 Operating System: all
 PHP Version:      5.1.4
 New Comment:

You managed to smash the stack with the endless loop in your code.
This is expected.


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

[2006-06-24 08:10:31] sf at cut dot hyh dot pl

Description:
------------
see code

Reproduce code:
---------------
interface test
{
        public function display();
}

class A
{
        function display($sTpl)
        {
                echo $sTpl;
        }
}

class B extends A implements test
{
        private $sTpl = 'test';
        
        public function display()
        {
                $this->display($this->sTpl);
        }
}

$oB = new B();
$oB->display();

Expected result:
----------------
some error? ;)

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


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


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

Reply via email to