3v4l.org

run code in 300+ PHP versions simultaneously
<?php function t(string ...$args) { var_dump($args); } function wrapperForT(string ...$args) { t($args); } t('one', 'two', 'three'); wrapperForT('four', 'five', 'six');
Output for git.master, git.master_jit, rfc.property-hooks
array(3) { [0]=> string(3) "one" [1]=> string(3) "two" [2]=> string(5) "three" } Fatal error: Uncaught TypeError: t(): Argument #1 must be of type string, array given, called in /in/qUntL on line 10 and defined in /in/qUntL:3 Stack trace: #0 /in/qUntL(10): t(Array) #1 /in/qUntL(14): wrapperForT('four', 'five', 'six') #2 {main} thrown in /in/qUntL 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:
55.17 ms | 401 KiB | 8 Q