<?php function a () { function b() { echo "I am b.\n"; } echo "I am a.\n"; } if (function_exists("b")) echo "b is defined.\n"; else echo "b is not defined.\n"; a(); if (function_exists("b")) echo "b is defined.\n"; else echo "b is not defined.\n";
You have javascript disabled. You will not be able to edit any code.