@ 2016-05-18T09:29:21Z <?php
$ps = array();
foreach($arr as $value){
$index = str_replace(" ", "", strtolower($value['L2_ATTR_DESC']));
$ps[$index][] = $value[L3_ATTR_DESC];
}
print_r($ps);
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Output for 8.0.0 - 8.0.30 , 8.1.0 - 8.1.29 , 8.2.0 - 8.2.20 , 8.3.0 - 8.3.9 Warning: Undefined variable $arr in /in/JuPIa on line 4
Warning: foreach() argument must be of type array|object, null given in /in/JuPIa on line 4
Array
(
)
Output for 5.5.0 - 5.5.35 , 5.6.0 - 5.6.28 , 7.0.0 - 7.0.20 , 7.1.0 - 7.1.33 , 7.2.0 - 7.2.33 , 7.3.0 - 7.3.31 , 7.4.0 - 7.4.33 Notice: Undefined variable: arr in /in/JuPIa on line 4
Warning: Invalid argument supplied for foreach() in /in/JuPIa on line 4
Array
(
)
Output for 7.3.32 - 7.3.33 Warning: Invalid argument supplied for foreach() in /in/JuPIa on line 4
Array
(
)
preferences:dark mode live preview
140.31 ms | 401 KiB | 247 Q