3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo preg_match( '/^(\-?\d+(\.\d+)?),\s*(\-?\d+(\.\d+)?)$/' , '(51.92547845842183,18.654356002807617)' , $matches ) print_r( $matches ); ?>
Output for 5.4.0 - 5.4.25
Parse error: syntax error, unexpected 'print_r' (T_STRING), expecting ',' or ';' in /in/LPoBM on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /in/LPoBM on line 5
Process exited with code 255.