Toggle navigation
Home
Latest pastes
FAQ
Random
BitBin is shutting down!
Register
Login
The same example as the example on top of the page, but the output is the returned array:
SUBMITTED BY:
henry1874w
DATE:
June 26, 2017, 4:43 p.m.
FORMAT:
Text only
SIZE:
150 Bytes
Raw
Download
Tweet
HITS:
253
Go to comments
Report
<?php
$a1=array("a"=>"red","b"=>"green","c"=>"blue","d"=>"yellow");
$a2=array("a"=>"purple","b"=>"orange");
print_r(array_splice($a1,0,2,$a2));
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus