Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
With the length parameter set to 0:
SUBMITTED BY:
henry1874w
DATE:
June 26, 2017, 4:43 p.m.
FORMAT:
Text only
SIZE:
130 Bytes
Raw
Download
Tweet
HITS:
190
Go to comments
Report
<?php
$a1=array("0"=>"red","1"=>"green");
$a2=array("0"=>"purple","1"=>"orange");
array_splice($a1,1,0,$a2);
print_r($a1);
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus