Created
August 30, 2015 22:05
-
-
Save InFog/88222f212c320bf226ce to your computer and use it in GitHub Desktop.
Escopos
This file contains hidden or 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
<?php | |
$nome = 'InFog'; | |
echo $nome; // InFog | |
function mostraNome() | |
{ | |
$nome = 'Coragem'; | |
echo $nome; | |
} | |
mostraNome(); // Coragem | |
echo $nome; // InFog | |
mostraNome(); // Coragem | |
echo $nome; // InFog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment