ID: 27699 Updated by: [EMAIL PROTECTED] Reported By: eyglys at yahoo dot com dot br -Status: Open +Status: Bogus Bug Type: Zend Engine 2 problem Operating System: Windows PHP Version: 5.0.0RC1 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 Turn on full error reporting, this is just like it works. Previous Comments: ------------------------------------------------------------------------ [2004-03-25 12:39:46] eyglys at yahoo dot com dot br Description: ------------ When a private method is called outside the target, the application die. Reproduce code: --------------- class t { private function test1() { echo "method test1\n"; } public function test2() { echo "method test2\n"; } public function test3() { $this->test1(); } } $p = new t(); $p->test3(); //call test3 method and print message $p->test1(); //not call test1 (die application) $p->test2(); //not call test2 and not execute more commands echo "check\n"; //not print "check" Expected result: ---------------- method teste1 method teste2 check Actual result: -------------- method test1 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27699&edit=1