3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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)); </div>
Output for 5.3.0 - 5.4.25
Parse error: syntax error, unexpected '<' in /in/5hWVQ on line 15
Process exited with code 255.