3v4l.org

run code in 300+ PHP versions simultaneously
<?php assert_options(ASSERT_CALLBACK, "assert_handler"); function assert_handler($file, $line, $assertion, $description="") { echo "* assert_handler('$file', '$line', '$assertion', '$description') called"; return true; } assert('false == true'); assert(false == true); assert(false == true, "Expected assert() to fail for this test and emit the actual test as 3rd parameter to handler");
Output for git.master, git.master_jit, rfc.property-hooks
* assert_handler('/in/1G2Zo', '11', '', 'assert(false == true)') called Fatal error: Uncaught AssertionError: assert(false == true) in /in/1G2Zo:11 Stack trace: #0 /in/1G2Zo(11): assert(false, 'assert(false ==...') #1 {main} thrown in /in/1G2Zo on line 11
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:
96.45 ms | 401 KiB | 8 Q