3v4l.org

run code in 500+ PHP versions simultaneously
<?php $code = 'This code has parse errors"'; $olderrors = @ini_set('display_errors', true); $oldlevel = error_reporting(E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR); ob_start(); eval($code); $errors = ob_get_contents(); ob_end_clean(); error_reporting($oldlevel); if ($olderrors !== false) { @ini_set('display_errors', $olderrors); } if ($errors) echo "\nERRORS: $errors\n"; echo "\nDone";
Output for rfc.property-hooks, git.master, git.master_jit
Parse error: syntax error, unexpected identifier "code" in /in/5YteU(9) : eval()'d code on line 1
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:
46.93 ms | 2739 KiB | 4 Q