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