3v4l.org

run code in 500+ PHP versions simultaneously
<?php declare(strict_types=1); // PHP 8.1+: set_exception_handler(error_log(...)); set_exception_handler('error_log'); // PHP 7~: try a ParseError: eval('$error here;'); eval('throw new RuntimeException("here");');
Output for rfc.property-hooks, git.master_jit, git.master
RuntimeException: here in /in/s41Vn(8) : eval()'d code:1 Stack trace: #0 /in/s41Vn(8): eval() #1 {main}

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:
48.72 ms | 2745 KiB | 4 Q