3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "00002008.debuglog:Maestro2::RecordingActivityQuestion Load (57.6ms) SELECT * FROM `RecordingActivityQuestion` WHERE (RecordingActivityID = 1016671)" $g = preg_match('/SELECT \* FROM `RecordingActivityQuestion` .* (\d)', $s, $matches); print_r($g);
Output for 5.4.0 - 5.4.8
Parse error: syntax error, unexpected '$g' (T_VARIABLE) in HqNM8 on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.18
Parse error: syntax error, unexpected T_VARIABLE in HqNM8 on line 4
Process exited with code 255.

preferences:
167.69 ms | 1395 KiB | 35 Q