Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Start the slice from the third array element, and return the rest of the elements in the array:
SUBMITTED BY:
henry1874w
DATE:
June 25, 2017, 2:50 p.m.
FORMAT:
Text only
SIZE:
88 Bytes
Raw
Download
Tweet
HITS:
567
Go to comments
Report
<?php
$a=array("red","green","blue","yellow","brown");
print_r(array_slice($a,2));
?>
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus