3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $aContext = array( 'http' => array( 'proxy' => '109.127.89.2:8080', 'request_fulluri' => true, ), ); $cxContext = stream_context_create($aContext); $sFile = file_get_contents("http://ip.jsontest.com/", False, $cxContext); echo $sFile;
Output for 5.0.0 - 7.2.0
Warning: file_get_contents(http://ip.jsontest.com/): failed to open stream: Network is unreachable in /in/GPrEp on line 11
Output for 4.3.0 - 4.4.9
Warning: file_get_contents() expects at most 2 parameters, 3 given in /in/GPrEp on line 11