3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "[{url: "http://superbocksuperrock.pt",description: "",type: "official"},{url: "http://www.facebook.com/sbsr",description: "Facebook oficial",type: "official"},{url: "http://www.festivais.pt/sbsr",description: "Outro site",type: "twitter"}]"; echo $string; ?>
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected 'http' (T_STRING) in /in/5XNK0 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_STRING in /in/5XNK0 on line 3
Process exited with code 255.

preferences:
184.86 ms | 1399 KiB | 63 Q