3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode({'"values":[{"url":"http://www.google.com","matches":"http|www|google|com"},{"url":"http://www.yahoo.com","matches":"http|www|yahoo|com"}]}'));
Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
Parse error: syntax error, unexpected '{' in /in/2gjXU on line 3
Process exited with code 255.
Output for 5.4.0 - 5.4.45
Parse error: syntax error, unexpected '{', expecting ')' in /in/2gjXU on line 3
Process exited with code 255.

preferences:
172.24 ms | 1399 KiB | 67 Q