<?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,
);
foreach ($array2 as $row) {
print_r(array_slice($row, 1));
}
//print_r(array_slice($array2,1));
//print_r(array_values(array_slice($array, 1)));
//print_r(implode('', array_map(function ($entry) {
// return $entry['red'];
//}, array_slice($a,1))));
//print_r(implode('',array_values(array_slice($a, 1))));
- Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.1 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.10, 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- Array
(
[0] => Array
(
[age] => Upper limit
[shipments] =>
[orders] =>
[ifs] =>
[items] => 3
[highlight] =>
)
[1] => Array
(
[age] => Limits:
[shipments] =>
[orders] =>
[ifs] =>
[items] =>
[highlight] => 1
)
[2] => Array
(
[age] => Freeze limit
[shipments] =>
[orders] =>
[ifs] =>
[items] => 1
[highlight] =>
)
)
- Output for 5.1.0
- Fatal error: fatal flex scanner internal error--end of buffer missed in /in/OV93b on line 55
Process exited with code 255.
preferences:
205.1 ms | 405 KiB | 313 Q