Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Insert the element "blue" to an array:
SUBMITTED BY:
henry1874w
DATE:
June 26, 2017, 4:57 p.m.
FORMAT:
Text only
SIZE:
86 Bytes
Raw
Download
Tweet
HITS:
268
Go to comments
Report
<?php
$a=array("a"=>"red","b"=>"green");
array_unshift($a,"blue");
print_r($a);
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus