3v4l.org

run code in 300+ PHP versions simultaneously
<?php function main() { try { $nonExistingVariable->blah(); } catch(Throwable $e) { var_export($e); } } main();
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $nonExistingVariable in /in/S1Th4 on line 6 \Error::__set_state(array( 'message' => 'Call to a member function blah() on null', 'string' => '', 'code' => 0, 'file' => '/in/S1Th4', 'line' => 6, 'trace' => array ( 0 => array ( 'file' => '/in/S1Th4', 'line' => 12, 'function' => 'main', 'args' => array ( ), ), ), 'previous' => NULL, ))

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:
98.97 ms | 402 KiB | 8 Q