<?php $s = '45.51088930166307,51,52.52216552154544,75';$res = preg_split('~,(?=\d+\.)~', $s);print_r($res);
Standard input is empty
Array ( [0] => 45.51088930166307,51 [1] => 52.52216552154544,75 )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!