3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.hedg.fr/hedgdeusacademia/bla/chat.php'; $data = array('qui' => '2', 'text' => 'Tu es en train de craquer... vite, un câlin ! (hug) Bon... ça marche de moins en moins, il faudra que je fasse des corrections ce soir pour que ça marche mieux... ._.'); // use key 'http' even if you send the request to https://... $options = array( 'http' => array( 'header' => "Content-type: application/x-www-form-urlencoded\r\n", 'method' => 'POST', 'content' => http_build_query($data), ), ); $context = stream_context_create($options); $result = file_get_contents($url, false, $context); var_dump($result); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo for www.hedg.fr failed: System error in /in/XJWoe on line 8 Warning: file_get_contents(http://www.hedg.fr/hedgdeusacademia/bla/chat.php): Failed to open stream: php_network_getaddresses: getaddrinfo for www.hedg.fr failed: System error in /in/XJWoe on line 8 bool(false)

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:
110.13 ms | 401 KiB | 8 Q