Created
June 28, 2019 14:38
-
-
Save rasoulvatanparast/a6f5617cca9f36c8176f1794c34a326f to your computer and use it in GitHub Desktop.
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
<?php | |
function test(){ | |
$x = 10; | |
echo '<p>' . $x . "</p>\n"; | |
} | |
function test2(){ | |
$x = 5; | |
echo '<p>' . $x . "</p>\n"; | |
} | |
function test3(){ | |
$x = 7; | |
echo '<p>' . $x . "</p>\n"; | |
} | |
test(); | |
test2(); | |
test3(); | |
/* | |
OUTPUT | |
10 | |
5 | |
7 | |
*/ | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment