<?php class x { function y() { function z(){ echo 'Hello world'; } } } $x = new x; var_dump(function_exists('z')); $x->y(); var_dump(function_exists('z'), z());
You have javascript disabled. You will not be able to edit any code.