3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.hackerschool.jp/hack/take22.php'; $data = array( 'pass' => 'take22password', ); $headers = array( 'Cookie: PHPSESSID=hoge;', ); $options = array('http' => array( 'method' => 'POST', 'content' => http_build_query($data), 'header' => implode("\r\n", $headers), )); echo file_get_contents($url, false, stream_context_create($options));

preferences:
37.81 ms | 402 KiB | 5 Q