3v4l.org

run code in 300+ PHP versions simultaneously
<?php $quote = file_get_contents('http://finance.google.com/finance/info?client=ig&q=VSE:APG1L'); $json = str_replace("\n", "", $quote); $data = substr($json, 4, strlen($json) -5); print_r($data); $json_output = json_decode($data, true, JSON_UNESCAPED_UNICODE); print_r($json_output); echo "</br></br>"; echo "\n".$json_output['l']; ?>
Output for git.master, git.master_jit
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for finance.google.com failed: System error in /in/feK2T on line 2 Warning: file_get_contents(http://finance.google.com/finance/info?client=ig&q=VSE:APG1L): Failed to open stream: php_network_getaddresses: getaddrinfo for finance.google.com failed: System error in /in/feK2T on line 2 </br></br> Warning: Trying to access array offset on value of type null in /in/feK2T on line 9
Output for rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for finance.google.com failed: System error in /in/feK2T on line 2 Warning: file_get_contents(http://finance.google.com/finance/info?client=ig&q=VSE:APG1L): Failed to open stream: php_network_getaddresses: getaddrinfo for finance.google.com failed: System error in /in/feK2T on line 2 </br></br> Warning: Trying to access array offset on null in /in/feK2T on line 9

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:
43.03 ms | 402 KiB | 8 Q