3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a($t, $m) { echo __FUNCTION__, $m, "\n"; } function b($t, $m) { echo __FUNCTION__, $m, "\n"; } set_error_handler('a', E_USER_WARNING); set_error_handler('b', 0); trigger_error('foo'); restore_error_handler(); trigger_error('bar');
Output for git.master, git.master_jit, rfc.property-hooks
Notice: foo in /in/Zfq36 on line 16 Notice: bar in /in/Zfq36 on line 18

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:
19.1 ms | 401 KiB | 8 Q