Why does it only first example not work? What does it happen with the function_exists if it under array_walk? Is it working compiler so, php stack, scope?