array.php 249 B

123456789101112131415161718192021
  1. <?php
  2. $arr = array("a"=>"b");
  3. echo $arr;
  4. print $arr;
  5. //class T {
  6. // public function A(array $a){
  7. // echo ($a["halo"]);
  8. // }
  9. //}
  10. //$arr = ["halo" => "abc"];
  11. //$t = new T();
  12. //$t->A($arr);
  13. //echo (json_encode($arr));
  14. //echo($arr);