Alucni test su php e classi. No array

This commit is contained in:
2014-10-23 12:57:53 +02:00
parent e9628eafd7
commit d2173ec61a
3 changed files with 163 additions and 0 deletions

18
php2.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
$a = "mario";
global $a;
test();
function test (){
global $a;
print $a;
}
echo $a;
?>