3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo preg_match( '/^(\-?\d+(\.\d+)?),\s*(\-?\d+(\.\d+)?)$/' , '51.92547845842183,18.654356002807617' , $matches ); print_r( $matches ); ?>
Output for 4.3.0 - 7.2.0
1Array ( [0] => 51.92547845842183,18.654356002807617 [1] => 51.92547845842183 [2] => .92547845842183 [3] => 18.654356002807617 [4] => .654356002807617 )