push array to first php
snippet in php

push array to first php

user9053

$a=array("a"=>"red","b"=>"green");
array_unshift($a,"blue");
print_r($a);