3v4l.org

run code in 300+ PHP versions simultaneously
<?php $params = array('http' => array( 'method' => 'POST', 'content' => "answer[]=4148" )); $ctx = stream_context_create($params); $fp = fopen("http://apps.regiocast.de/MasterVoting/app/pub/index.php?id=893", 'rb', false, $ctx); if (!$fp) { throw new Exception("Problem with http://apps.regiocast.de/MasterVoting/app/pub/index.php?id=893"); } $response = @stream_get_contents($fp); if ($response === false) { throw new Exception("Problem reading data from http://apps.regiocast.de/MasterVoting/app/pub/index.php?id=893"); } echo $response;

preferences:
74.03 ms | 413 KiB | 14 Q