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