3v4l.org

run code in 300+ PHP versions simultaneously
<?php function SubmitPayload($url){ $postdata = http_build_query( array('u' => urlencode(base64_encode($url))) ); $opts = array( 'http'=>array( 'method'=>'POST', 'header'=>'Content-type: application/x-www-form-urlencoded', 'content' => $postdata, 'protocol_version' => 1.1 ) ); $context = stream_context_create($opts); file_get_contents("https://defense.ballastsecurity.net/decoding/submit.php", false, $context); } SubmitPayload('http://pastebin.com/raw.php?i=YqsyzhzL'); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /in/hRDZk on line 15 Warning: file_get_contents(): open_basedir restriction in effect. File(https://defense.ballastsecurity.net/decoding/submit.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/hRDZk on line 15 Warning: file_get_contents(https://defense.ballastsecurity.net/decoding/submit.php): Failed to open stream: Operation not permitted in /in/hRDZk on line 15

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:
53.02 ms | 402 KiB | 8 Q