3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_end_flush(); class React_Exception extends Exception{ public $_trace; } class ExceptionHandler { public function __invoke (Exception $e) { ob_end_clean(); } } set_error_handler(function($errorNumber, $errorMessage, $errorFile, $errorLine) { // $e = new React_Exception; $e = new Exception; $e->_trace = debug_backtrace(); throw $e; }); set_exception_handler(new ExceptionHandler()); $a['waa'];
Output for git.master, git.master_jit, rfc.property-hooks
Notice: ob_end_flush(): Failed to delete and flush buffer. No buffer to delete or flush in /in/9XvZn on line 2 Deprecated: Creation of dynamic property Exception::$_trace is deprecated in /in/9XvZn on line 19 Deprecated: Creation of dynamic property Exception::$_trace is deprecated in /in/9XvZn on line 19 Fatal error: Uncaught Exception in /in/9XvZn:18 Stack trace: #0 [internal function]: {closure}(8, 'ob_end_clean():...', '/in/9XvZn', 11) #1 /in/9XvZn(11): ob_end_clean() #2 [internal function]: ExceptionHandler->__invoke(Object(Exception)) #3 {main} thrown in /in/9XvZn on line 18
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.76 ms | 402 KiB | 8 Q