3v4l.org

run code in 300+ PHP versions simultaneously
<?php trigger_error('this is no problem - just a notice'); set_error_handler(function ($s, $m, $f, $l) { throw new ErrorException($m, 0, $s, $f, $l); }); echo "this will still work fine:"; @trigger_error('see? no problem'); echo "\nthis, however, will not:"; trigger_error('problems');
Output for git.master, git.master_jit, rfc.property-hooks
Notice: this is no problem - just a notice in /in/XukW5 on line 3 this will still work fine: Fatal error: Uncaught ErrorException: see? no problem in /in/XukW5:9 Stack trace: #0 [internal function]: {closure}(1024, 'see? no problem', '/in/XukW5', 9) #1 /in/XukW5(9): trigger_error('see? no problem') #2 {main} thrown in /in/XukW5 on line 9
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:
58.61 ms | 401 KiB | 8 Q