3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler("err"); function err($no, $str, $line, $file, $ctx) { var_dump($str, $ctx); } function from() { trigger_error("test", E_USER_NOTICE); } from();
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught ArgumentCountError: Too few arguments to function err(), 4 passed and exactly 5 expected in /in/jT6UT:5 Stack trace: #0 [internal function]: err(1024, 'test', '/in/jT6UT', 10) #1 /in/jT6UT(10): trigger_error('test', 1024) #2 /in/jT6UT(13): from() #3 {main} thrown in /in/jT6UT on line 5
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:
37.93 ms | 401 KiB | 8 Q