Professional Documents
Culture Documents
Functions in PHP Cheatsheet - Codecademy
Functions in PHP Cheatsheet - Codecademy
Functions in PHP Cheatsheet - Codecademy
echo returnMe();
function scope(){
$y = 7;
echo $x;
// prints 'undefined variable'
global $x;
echo $x;
// prints 6
echo $y;
// prints 7
}
scope();