<?php $a = array('franz' => 'de leon', 'cheryl' => 'chua', 'john' => 'doe'); $e = 0; $offset = (($offset = (int) $e) <= 0) ? 1 : $offset; var_dump($offset); //var_dump(array_slice($a, -1));
You have javascript disabled. You will not be able to edit any code.