3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = 'string(42) "{"ERROR_MSG":"Invalid path for user raol"}" '; echo "Matches: " . preg_match(/\"\{.*\{\"/, $response);
Output for 5.5.0 - 5.5.4
Parse error: syntax error, unexpected '/' in /in/FUC1d on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.20
Parse error: syntax error, unexpected '/', expecting ')' in /in/FUC1d on line 3
Process exited with code 255.

preferences:
176.33 ms | 1395 KiB | 61 Q