This makes both $result and
$result_keyed have the same elements, but
note the difference between the keys. The printout of
$result and
$result_keyed will be:
Array ( [0] => Array ( [0] => green [1] => red )
[1] => 4 [2] => php ) Array ( [2] => Array ( [0] => green [1] => red )
[1] => 4 [0] => php )
Note:
The second parameter was added in PHP 4.0.3.
array reverse php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php array reverse syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.