3v4l.org

run code in 300+ PHP versions simultaneously
<?php sonfile = file_get_contents('https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=15min&outputsize=full&apikey=demo'); $jsonarray = json_decode($jsonfile, true); echo $jsonarray['Meta Data']; var_dump($jsonarray);
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.6
Parse error: syntax error, unexpected '=' in /in/vZ87d on line 3
Process exited with code 255.

preferences:
166.66 ms | 1395 KiB | 35 Q