Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 169 Bytes
<!DOCTYPE html>
<html>
<body>
<?php
$x=5;//global scope
function myTest()
{
echo "<p>Variable x= $x</p>";
}
myTest();
echo "<p>Variable x= $x</p>";
?>
</body>
</html>