<?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.
preferences:
180.9 ms | 1395 KiB | 62 Q