3v4l.org

run code in 300+ PHP versions simultaneously
<?php $from_Currency = "USD"; $to_Currency = "INR"; $amount = "18000"; $result = file_get_contents( 'http://www.google.com/ig/calculator?hl=en&q='.$amount.''.$from_Currency.'=?'.$to_Currency.'' ); $json = json_decode($result); echo $json['rhs'];
Output for git.master, git.master_jit
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.google.com failed: System error in /in/kBpD8 on line 5 Warning: file_get_contents(http://www.google.com/ig/calculator?hl=en&q=18000USD=?INR): Failed to open stream: php_network_getaddresses: getaddrinfo for www.google.com failed: System error in /in/kBpD8 on line 5 Warning: Trying to access array offset on value of type null in /in/kBpD8 on line 10
Output for rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.google.com failed: System error in /in/kBpD8 on line 5 Warning: file_get_contents(http://www.google.com/ig/calculator?hl=en&q=18000USD=?INR): Failed to open stream: php_network_getaddresses: getaddrinfo for www.google.com failed: System error in /in/kBpD8 on line 5 Warning: Trying to access array offset on null in /in/kBpD8 on line 10

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