3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 /in/fCtmU on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.18
Parse error: syntax error, unexpected T_VARIABLE in /in/fCtmU on line 4
Process exited with code 255.