Php Anonymous Function Example Code Switching Black