<?php
$string = '1-350,9-390.99';
function walk($val, $key, $new_array){
$new_array[$nums[0]] = $nums[1];
}
?>
PD9waHAKJHN0cmluZyA9ICcxLTM1MCw5LTM5MC45OSc7CiRhcnJheSA9IGV4cGxvZGUoJywnLCRzdHJpbmcpOwokbmV3X2FycmF5ID0gYXJyYXkoKTsKCmFycmF5X3dhbGsoJGFycmF5LCd3YWxrJywgJiRuZXdfYXJyYXkpOwoKZnVuY3Rpb24gd2FsaygkdmFsLCAka2V5LCAkbmV3X2FycmF5KXsKICAgICRudW1zID0gZXhwbG9kZSgnLScsJHZhbCk7CiAgICAkbmV3X2FycmF5WyRudW1zWzBdXSA9ICRudW1zWzFdOwp9CnByaW50X3IoJG5ld19hcnJheSk7Cgo/Pg==