3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = '[{"link":"google.com"},{"link":"facebook.com"},{"link":"instagram.com"}]'; $array = json_decode($response,true); foreach($array as $key=>$value){ echo $value['link'].PHP_EOL; } ?>

preferences:
113.72 ms | 404 KiB | 5 Q