Bug #63560 [Opn]: 5.3.18

From: Date: Mon, 19 Nov 2012 10:23:04 +0000
Subject: Bug #63560 [Opn]: 5.3.18
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-174799@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=63560&edit=1 ID: 63560 User updated by: mutofiyah at gmail dot com Reported by: mutofiyah at gmail dot com Summary: 5.3.18 Status: Open Type: Bug Package: *General Issues Operating System: Linux Ubuntu 12.04 PHP Version: 5.3.18 Block user comment: N Private report: N New Comment: It's work class Coba{ function a(){ function b(){ return 'ABC'; } return b(); } } $a = new Coba(); $a->a(); but it's not work class Coba{ public function a(){ public function b(){ return 'ABC'; } return b(); } } $a = new Coba(); $a->a(); Previous Comments: ------------------------------------------------------------------------ [2012-11-19 10:17:28] mutofiyah at gmail dot com Description: ------------ How i access the b() function? sorry for bad english Test script: --------------- class Coba{ function a(){ function b(){ return 'ABC'; } return b(); } } $a = new Coba(); $a->a(); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63560&edit=1

« previous php.bugs (#174799) next »