3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsonfile = 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 git.master, git.master_jit
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/RW1rR on line 3 Warning: file_get_contents(): open_basedir restriction in effect. File(https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=15min&outputsize=full&apikey=demo) is not within the allowed path(s): (/tmp:/in:/etc) in /in/RW1rR on line 3 Warning: file_get_contents(https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=15min&outputsize=full&apikey=demo): Failed to open stream: Operation not permitted in /in/RW1rR on line 3 Warning: Trying to access array offset on value of type null in /in/RW1rR on line 6 NULL
Output for rfc.property-hooks
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/RW1rR on line 3 Warning: file_get_contents(): open_basedir restriction in effect. File(https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=15min&outputsize=full&apikey=demo) is not within the allowed path(s): (/tmp:/in:/etc) in /in/RW1rR on line 3 Warning: file_get_contents(https://www.alphavantage.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=15min&outputsize=full&apikey=demo): Failed to open stream: Operation not permitted in /in/RW1rR on line 3 Warning: Trying to access array offset on null in /in/RW1rR on line 6 NULL

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
42.51 ms | 402 KiB | 8 Q