3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = json_decode(file_get_contents('http://api.openweathermap.org/data/2.5/forecast/city?q=CH&APPID=45c070c14f5fcf78e6faaa38d7e1b523&units=metric')); echo $data;
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for api.openweathermap.org failed: System error in /in/G1IlA on line 3 Warning: file_get_contents(http://api.openweathermap.org/data/2.5/forecast/city?q=CH&APPID=45c070c14f5fcf78e6faaa38d7e1b523&units=metric): Failed to open stream: php_network_getaddresses: getaddrinfo for api.openweathermap.org failed: System error in /in/G1IlA on line 3

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