Edit report at https://bugs.php.net/bug.php?id=63560&edit=1

 ID:                 63560
 Updated by:         [email protected]
 Reported by:        mutofiyah at gmail dot com
 Summary:            5.3.18
-Status:             Open
+Status:             Not a bug
 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:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

.


Previous Comments:
------------------------------------------------------------------------
[2012-11-19 10:23:04] mutofiyah at gmail dot com

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();

------------------------------------------------------------------------
[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

Reply via email to