"b"); echo $arr; print $arr; //class T { // public function A(array $a){ // echo ($a["halo"]); // } //} //$arr = ["halo" => "abc"]; //$t = new T(); //$t->A($arr); //echo (json_encode($arr)); //echo($arr);