3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array[] = array ( 'age' => 'Lower limit', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' => 2, 'highlight' => false ); $array[] = array ( 'age' => 'Upper limit', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' =>3, 'highlight' => false ); $array[] = array ( 'age' => 'Limits:', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' => null, 'highlight' => 1 ); $array[] = array ( 'age' => 'Freeze limit', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' => 1, 'highlight' => false ); $array2 = array ( 'ageing_data' => $array, ); print_r($array2); foreach ($array2 as $row) { print_r(implode('',array_slice($row, 1))); }
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [ageing_data] => Array ( [0] => Array ( [age] => Lower limit [shipments] => [orders] => [ifs] => [items] => 2 [highlight] => ) [1] => Array ( [age] => Upper limit [shipments] => [orders] => [ifs] => [items] => 3 [highlight] => ) [2] => Array ( [age] => Limits: [shipments] => [orders] => [ifs] => [items] => [highlight] => 1 ) [3] => Array ( [age] => Freeze limit [shipments] => [orders] => [ifs] => [items] => 1 [highlight] => ) ) ) Warning: Array to string conversion in /in/0ts6J on line 44 Warning: Array to string conversion in /in/0ts6J on line 44 Warning: Array to string conversion in /in/0ts6J on line 44 ArrayArrayArray

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
39.41 ms | 404 KiB | 8 Q