3v4l.org

run code in 300+ PHP versions simultaneously
<?php $image = file_get_contents('https://images.google.com/intl/en_ALL/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png'); $json = json_encode($image); echo $json;

preferences:
63.24 ms | 402 KiB | 5 Q