Yes split has now changed to preg_split. For those changes:

change to:

PHP Code:
$table_cost preg_split("/[:,]/"$table);