3v4l.org

run code in 300+ PHP versions simultaneously
<?php require_once(dirname(__FILE__) . '/loading.html'); // require the file, don't redirect away from your code include ("file\where\the\variable\comes\from.php"); $s = shell_exec("powershell path\\to\\script.ps1 '$variable'< NUL"); if (strpos($s, 'True') === false) { header('Location: /succes.html'); // is this a typo in your code? 'succes' exit(); // need this } else{ header('Location: /failed.html'); exit(); // need this }
Output for git.master, git.master_jit, rfc.property-hooks
Warning: require_once(/in/loading.html): Failed to open stream: No such file or directory in /in/sh7J3 on line 3 Fatal error: Uncaught Error: Failed opening required '/in/loading.html' (include_path='.:') in /in/sh7J3:3 Stack trace: #0 {main} thrown in /in/sh7J3 on line 3
Process exited with code 255.

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:
183.91 ms | 406 KiB | 5 Q