<?php
$configOptions = array(
'1:'=>'1l:',
'2:'=>'2l:',
'3:'=>'3l:',
'4:'=>'4l:',
'5:'=>'5l:',
'6:'=>'6l:',
'7:'=>'7l:',
'8:'=>'8l:',
'9:'=>'9l:',
'10:'=>'10l:',
'11:'=>'11l:',
'12:'=>'12l:',
'13:'=>'13l:',
'14:'=>'14l:'
);
$out = str_replace(':', '', $configOptions);
foreach($out as $key=>$value){
$newKey = str_replace(':', '', $key);
$newOut[$newKey] = $value;
}
var_fump($newOut);
preferences:
45.94 ms | 402 KiB | 5 Q