<?php $a = array(1,2,3,4,5,6); $b = array_slice($a,2,-2); $c = '123456'; $d = substr($c,2,-2); print_r($b); echo $d;
You have javascript disabled. You will not be able to edit any code.