3v4l.org

run code in 300+ PHP versions simultaneously
<?php function callMe(...$args) {} function funcGetArgs°callUserFuncArray() { $args = func_get_args(); call_user_func_array('callMe', $args); } function funcGetArgs°threeDots() { $args = func_get_args(); callMe(...$args); } function threeDots°callUserFuncArray(...$args) { call_user_func_array('callMe', $args); } function threeDots°threeDots(...$args) { callMe(...$args); } foreach(array('funcGetArgs°callUserFuncArray', 'funcGetArgs°threeDots', 'threeDots°callUserFuncArray', 'threeDots°threeDots') as $fn) { $start = microtime(TRUE); for($i=0;$i<10000;$i++) { $fn(1,2,3,4,5); } echo $fn.': '.(microtime(TRUE)-$start)."\n"; }
Output for 7.3.1
funcGetArgs°callUserFuncArray: 0.0036389827728271 funcGetArgs°threeDots: 0.0028951168060303 threeDots°callUserFuncArray: 0.0035438537597656 threeDots°threeDots: 0.0031139850616455
Output for 7.3.0
funcGetArgs°callUserFuncArray: 0.0036609172821045 funcGetArgs°threeDots: 0.0031030178070068 threeDots°callUserFuncArray: 0.003230094909668 threeDots°threeDots: 0.0031039714813232
Output for 7.2.13
funcGetArgs°callUserFuncArray: 0.0034739971160889 funcGetArgs°threeDots: 0.0032429695129395 threeDots°callUserFuncArray: 0.0033669471740723 threeDots°threeDots: 0.0032789707183838
Output for 7.2.12
funcGetArgs°callUserFuncArray: 0.0041711330413818 funcGetArgs°threeDots: 0.0031929016113281 threeDots°callUserFuncArray: 0.0033409595489502 threeDots°threeDots: 0.0034639835357666
Output for 7.2.11
funcGetArgs°callUserFuncArray: 0.0034990310668945 funcGetArgs°threeDots: 0.0032379627227783 threeDots°callUserFuncArray: 0.0034658908843994 threeDots°threeDots: 0.0032150745391846
Output for 7.2.10
funcGetArgs°callUserFuncArray: 0.0050301551818848 funcGetArgs°threeDots: 0.0038890838623047 threeDots°callUserFuncArray: 0.0043351650238037 threeDots°threeDots: 0.0035810470581055
Output for 7.2.9
funcGetArgs°callUserFuncArray: 0.0045230388641357 funcGetArgs°threeDots: 0.0034480094909668 threeDots°callUserFuncArray: 0.0033659934997559 threeDots°threeDots: 0.0035080909729004
Output for 7.2.8
funcGetArgs°callUserFuncArray: 0.0036227703094482 funcGetArgs°threeDots: 0.0033011436462402 threeDots°callUserFuncArray: 0.0043418407440186 threeDots°threeDots: 0.0053319931030273
Output for 7.2.7
funcGetArgs°callUserFuncArray: 0.0046591758728027 funcGetArgs°threeDots: 0.0037591457366943 threeDots°callUserFuncArray: 0.0033209323883057 threeDots°threeDots: 0.0032720565795898
Output for 7.2.6
funcGetArgs°callUserFuncArray: 0.005803108215332 funcGetArgs°threeDots: 0.0035090446472168 threeDots°callUserFuncArray: 0.0033648014068604 threeDots°threeDots: 0.0032668113708496
Output for 7.2.5
funcGetArgs°callUserFuncArray: 0.005486011505127 funcGetArgs°threeDots: 0.0052618980407715 threeDots°callUserFuncArray: 0.0041379928588867 threeDots°threeDots: 0.0033140182495117
Output for 7.2.4
funcGetArgs°callUserFuncArray: 0.0035238265991211 funcGetArgs°threeDots: 0.0031871795654297 threeDots°callUserFuncArray: 0.0041408538818359 threeDots°threeDots: 0.0041708946228027
Output for 7.2.3
funcGetArgs°callUserFuncArray: 0.003960132598877 funcGetArgs°threeDots: 0.0033211708068848 threeDots°callUserFuncArray: 0.003328800201416 threeDots°threeDots: 0.0032799243927002
Output for 7.2.2
funcGetArgs°callUserFuncArray: 0.0059199333190918 funcGetArgs°threeDots: 0.0035068988800049 threeDots°callUserFuncArray: 0.0035181045532227 threeDots°threeDots: 0.0039119720458984
Output for 7.2.1
funcGetArgs°callUserFuncArray: 0.0047938823699951 funcGetArgs°threeDots: 0.0033650398254395 threeDots°callUserFuncArray: 0.0033690929412842 threeDots°threeDots: 0.0036959648132324
Output for 7.2.0
funcGetArgs°callUserFuncArray: 0.0035591125488281 funcGetArgs°threeDots: 0.0037620067596436 threeDots°callUserFuncArray: 0.0035820007324219 threeDots°threeDots: 0.0033400058746338
Output for 7.1.25
funcGetArgs°callUserFuncArray: 0.0043630599975586 funcGetArgs°threeDots: 0.0042650699615479 threeDots°callUserFuncArray: 0.0043549537658691 threeDots°threeDots: 0.0041429996490479
Output for 7.1.7
funcGetArgs°callUserFuncArray: 0.0027859210968018 funcGetArgs°threeDots: 0.0027129650115967 threeDots°callUserFuncArray: 0.0027179718017578 threeDots°threeDots: 0.0025649070739746
Output for 7.1.6
funcGetArgs°callUserFuncArray: 0.0058431625366211 funcGetArgs°threeDots: 0.0059859752655029 threeDots°callUserFuncArray: 0.0053229331970215 threeDots°threeDots: 0.0045421123504639
Output for 7.1.5
funcGetArgs°callUserFuncArray: 0.00347900390625 funcGetArgs°threeDots: 0.0033211708068848 threeDots°callUserFuncArray: 0.003309965133667 threeDots°threeDots: 0.0030491352081299
Output for 7.1.0
funcGetArgs°callUserFuncArray: 0.0076329708099365 funcGetArgs°threeDots: 0.0070958137512207 threeDots°callUserFuncArray: 0.0070850849151611 threeDots°threeDots: 0.0065488815307617
Output for 7.0.20
funcGetArgs°callUserFuncArray: 0.0025599002838135 funcGetArgs°threeDots: 0.0025191307067871 threeDots°callUserFuncArray: 0.0026350021362305 threeDots°threeDots: 0.002457857131958
Output for 7.0.14
funcGetArgs°callUserFuncArray: 0.005061149597168 funcGetArgs°threeDots: 0.0046379566192627 threeDots°callUserFuncArray: 0.0045878887176514 threeDots°threeDots: 0.0042130947113037
Output for 7.0.6
funcGetArgs°callUserFuncArray: 0.0037009716033936 funcGetArgs°threeDots: 0.0035150051116943 threeDots°callUserFuncArray: 0.0035400390625 threeDots°threeDots: 0.0031280517578125
Output for 7.0.5
funcGetArgs°callUserFuncArray: 0.0035219192504883 funcGetArgs°threeDots: 0.0034220218658447 threeDots°callUserFuncArray: 0.0033988952636719 threeDots°threeDots: 0.0029668807983398
Output for 7.0.4
funcGetArgs°callUserFuncArray: 0.0040960311889648 funcGetArgs°threeDots: 0.0039479732513428 threeDots°callUserFuncArray: 0.0039029121398926 threeDots°threeDots: 0.00341796875
Output for 7.0.3
funcGetArgs°callUserFuncArray: 0.003654956817627 funcGetArgs°threeDots: 0.0033259391784668 threeDots°callUserFuncArray: 0.0034148693084717 threeDots°threeDots: 0.003018856048584
Output for 7.0.2
funcGetArgs°callUserFuncArray: 0.0038290023803711 funcGetArgs°threeDots: 0.0036628246307373 threeDots°callUserFuncArray: 0.003715991973877 threeDots°threeDots: 0.0031070709228516
Output for 7.0.1
funcGetArgs°callUserFuncArray: 0.0037729740142822 funcGetArgs°threeDots: 0.0035250186920166 threeDots°callUserFuncArray: 0.0035738945007324 threeDots°threeDots: 0.0030758380889893
Output for 7.0.0
funcGetArgs°callUserFuncArray: 0.0039019584655762 funcGetArgs°threeDots: 0.0036768913269043 threeDots°callUserFuncArray: 0.0036728382110596 threeDots°threeDots: 0.0031280517578125
Output for 5.6.28
funcGetArgs°callUserFuncArray: 0.018922090530396 funcGetArgs°threeDots: 0.011126041412354 threeDots°callUserFuncArray: 0.016582012176514 threeDots°threeDots: 0.010390996932983
Output for 5.6.21
funcGetArgs°callUserFuncArray: 0.012710094451904 funcGetArgs°threeDots: 0.0083849430084229 threeDots°callUserFuncArray: 0.014037847518921 threeDots°threeDots: 0.0078508853912354
Output for 5.6.20
funcGetArgs°callUserFuncArray: 0.010260820388794 funcGetArgs°threeDots: 0.0068340301513672 threeDots°callUserFuncArray: 0.011960029602051 threeDots°threeDots: 0.0069680213928223
Output for 5.6.19
funcGetArgs°callUserFuncArray: 0.014477968215942 funcGetArgs°threeDots: 0.0093679428100586 threeDots°callUserFuncArray: 0.015461921691895 threeDots°threeDots: 0.0086479187011719
Output for 5.6.18
funcGetArgs°callUserFuncArray: 0.014472961425781 funcGetArgs°threeDots: 0.0093920230865479 threeDots°callUserFuncArray: 0.015261888504028 threeDots°threeDots: 0.0085411071777344
Output for 5.6.17
funcGetArgs°callUserFuncArray: 0.013139963150024 funcGetArgs°threeDots: 0.008256196975708 threeDots°callUserFuncArray: 0.013818025588989 threeDots°threeDots: 0.0077710151672363
Output for 5.6.16
funcGetArgs°callUserFuncArray: 0.014992952346802 funcGetArgs°threeDots: 0.0094630718231201 threeDots°callUserFuncArray: 0.015748023986816 threeDots°threeDots: 0.0087788105010986
Output for 5.6.15
funcGetArgs°callUserFuncArray: 0.014120101928711 funcGetArgs°threeDots: 0.0087020397186279 threeDots°callUserFuncArray: 0.014901161193848 threeDots°threeDots: 0.008202075958252
Output for 5.6.14
funcGetArgs°callUserFuncArray: 0.01459813117981 funcGetArgs°threeDots: 0.0093929767608643 threeDots°callUserFuncArray: 0.015407085418701 threeDots°threeDots: 0.0082051753997803
Output for 5.6.13
funcGetArgs°callUserFuncArray: 0.014960050582886 funcGetArgs°threeDots: 0.0099248886108398 threeDots°callUserFuncArray: 0.014876127243042 threeDots°threeDots: 0.0084340572357178
Output for 5.6.12
funcGetArgs°callUserFuncArray: 0.01274299621582 funcGetArgs°threeDots: 0.0082600116729736 threeDots°callUserFuncArray: 0.013783931732178 threeDots°threeDots: 0.0077450275421143
Output for 5.6.11
funcGetArgs°callUserFuncArray: 0.010325908660889 funcGetArgs°threeDots: 0.0068528652191162 threeDots°callUserFuncArray: 0.012025117874146 threeDots°threeDots: 0.0070080757141113
Output for 5.6.10
funcGetArgs°callUserFuncArray: 0.015423059463501 funcGetArgs°threeDots: 0.010020971298218 threeDots°callUserFuncArray: 0.015356063842773 threeDots°threeDots: 0.008620023727417
Output for 5.6.9
funcGetArgs°callUserFuncArray: 0.015131950378418 funcGetArgs°threeDots: 0.0098440647125244 threeDots°callUserFuncArray: 0.014071941375732 threeDots°threeDots: 0.0070700645446777
Output for 5.6.8
funcGetArgs°callUserFuncArray: 0.015192031860352 funcGetArgs°threeDots: 0.0096240043640137 threeDots°callUserFuncArray: 0.015949010848999 threeDots°threeDots: 0.0087928771972656
Output for 5.6.7
funcGetArgs°callUserFuncArray: 0.015015840530396 funcGetArgs°threeDots: 0.009537935256958 threeDots°callUserFuncArray: 0.01560378074646 threeDots°threeDots: 0.0087201595306396
Output for 5.6.6
funcGetArgs°callUserFuncArray: 0.016157150268555 funcGetArgs°threeDots: 0.010051965713501 threeDots°callUserFuncArray: 0.016288995742798 threeDots°threeDots: 0.0090541839599609
Output for 5.6.5
funcGetArgs°callUserFuncArray: 0.015438079833984 funcGetArgs°threeDots: 0.0092580318450928 threeDots°callUserFuncArray: 0.01542592048645 threeDots°threeDots: 0.0086169242858887
Output for 5.6.4
funcGetArgs°callUserFuncArray: 0.015326023101807 funcGetArgs°threeDots: 0.010399103164673 threeDots°callUserFuncArray: 0.016249895095825 threeDots°threeDots: 0.0093569755554199
Output for 5.6.3
funcGetArgs°callUserFuncArray: 0.016557931900024 funcGetArgs°threeDots: 0.0099279880523682 threeDots°callUserFuncArray: 0.016481876373291 threeDots°threeDots: 0.0091979503631592
Output for 5.6.2
funcGetArgs°callUserFuncArray: 0.016618967056274 funcGetArgs°threeDots: 0.010355949401855 threeDots°callUserFuncArray: 0.016771078109741 threeDots°threeDots: 0.0096349716186523
Output for 5.6.1
funcGetArgs°callUserFuncArray: 0.012869834899902 funcGetArgs°threeDots: 0.0083189010620117 threeDots°callUserFuncArray: 0.013976097106934 threeDots°threeDots: 0.0078699588775635
Output for 5.6.0
funcGetArgs°callUserFuncArray: 0.015008926391602 funcGetArgs°threeDots: 0.009458065032959 threeDots°callUserFuncArray: 0.015586853027344 threeDots°threeDots: 0.0086970329284668
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.35
Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /in/Qdcbv on line 3
Process exited with code 255.
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
Parse error: syntax error, unexpected '.', expecting '&' or T_VARIABLE in /in/Qdcbv on line 3
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected '.', expecting '&' or T_VARIABLE in /in/Qdcbv on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected '.', expecting ')' in /in/Qdcbv on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1
Parse error: parse error, unexpected '.', expecting ')' in /in/Qdcbv on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/Qdcbv on line 3
Process exited with code 255.

preferences:
124.68 ms | 401 KiB | 221 Q