Last active
August 29, 2015 14:02
-
-
Save k4ml/95af85bdb5819e0e07e6 to your computer and use it in GitHub Desktop.
Interview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$foo = "Hello"; | |
function alert_a() { | |
global $foo; | |
$bar = " World"; | |
echo ($foo . $bar); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function alert_b() { | |
$bar = " World"; | |
echo ($foo . $bar); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment