3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data_array = array( 'full_base_path' => "www.tesoelite.com/forums", 'domain' => "www.tesoelite.com", 'ip_address' => "206.190.130.173", 'addon_id' => "Brivium_Credits", 'title' => "Brivium - Credits Premium", 'version_id' => "1010300", 'server' => $_SERVER ); $url = "http://brivium.com/index.php?lc"; $params = array('http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data_array) )); $context = stream_context_create($params); $result = file_get_contents($url, false, $context); var_dump($result); ?>
Output for 5.2.6 - 7.1.0
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/ecMsi on line 23 Warning: file_get_contents(http://brivium.com/index.php?lc): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/ecMsi on line 23 bool(false)
Output for 5.0.3 - 5.2.5
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/ecMsi on line 23 Warning: file_get_contents(http://brivium.com/index.php?lc): failed to open stream: Connection refused in /in/ecMsi on line 23 bool(false)
Output for 5.0.1 - 5.0.2
Warning: file_get_contents(): php_network_getaddresses: gethostbyname failed in /in/ecMsi on line 23 Warning: file_get_contents(http://brivium.com/index.php?lc): failed to open stream: Success in /in/ecMsi on line 23 bool(false)
Output for 5.0.0
Warning: file_get_contents(): php_network_getaddresses: gethostbyname failed in /in/ecMsi on line 23 Warning: file_get_contents(http://brivium.com/index.php?lc): failed to open stream: Bad file descriptor in /in/ecMsi on line 23 bool(false)
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: http_build_query() in /in/ecMsi on line 19
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: http_build_query() in /in/ecMsi on line 19
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: http_build_query() in /in/ecMsi on line 19