Open GoogleCodeExporter opened 8 years ago
应该是改成,
<?php if(is_array($brand)): $i = 0; $__LIST__ =
array_slice($brand,$offset,count($brand)-$offset,true);
offset是正数的情况下,从offset到数组最后一个元素。
offset是负数,
<?php if(is_array($brand)): $i = 0; $__LIST__ =
array_slice($brand,$offset,count($brand)+$offset,true);
Original comment by kane.mx
on 14 Apr 2012 at 2:46
Original issue reported on code.google.com by
kane.mx
on 14 Apr 2012 at 9:55