3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php $url = "http://api.giphy.com/v1/gifs/search?q=hello&api_key=dc6zaTOxFJmzC"; $content = file_get_contents($url); $json = json_decode($content); echo $json->images[0]->fixedheight->url[0]; ?>
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
Parse error: syntax error, unexpected '<' in /in/LDRCt on line 2
Process exited with code 255.

preferences:
182.24 ms | 1395 KiB | 63 Q