3v4l.org

run code in 300+ PHP versions simultaneously
<?php function two_args($one, $two) { var_dump($one, $two); } two_args('spam', 'eggs'); two_args('ham');
Output for git.master, git.master_jit, rfc.property-hooks
string(4) "spam" string(4) "eggs" Fatal error: Uncaught ArgumentCountError: Too few arguments to function two_args(), 1 passed in /in/AuJ1L on line 10 and exactly 2 expected in /in/AuJ1L:3 Stack trace: #0 /in/AuJ1L(10): two_args('ham') #1 {main} thrown in /in/AuJ1L on line 3
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:
193.07 ms | 406 KiB | 5 Q