3v4l.org

run code in 300+ PHP versions simultaneously
<?php function b(...$args) { foreach($args as $arg) { echo "arg: $arg" . PHP_EOL; } } function a(...$args) { b(...$args); } a("a", "b", 3, 2.7);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0040.01118.43
8.3.50.0160.00316.51
8.3.40.0090.00618.72
8.3.30.0120.00318.54
8.3.20.0050.00318.68
8.3.10.0050.00323.66
8.3.00.0000.00820.67
8.2.180.0070.00716.38
8.2.170.0110.00422.96
8.2.160.0080.00620.25
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0060.00319.82
8.2.120.0040.00426.35
8.2.110.0030.00719.31
8.2.100.0060.00617.97
8.2.90.0000.00817.75
8.2.80.0040.00417.97
8.2.70.0080.00018.04
8.2.60.0080.00018.16
8.2.50.0050.00318.10
8.2.40.0030.00519.20
8.2.30.0040.00419.13
8.2.20.0030.00617.97
8.2.10.0040.00419.44
8.2.00.0040.00417.50
8.1.280.0110.00425.92
8.1.270.0060.00321.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0070.00417.36
8.1.230.0100.00317.70
8.1.220.0040.00717.74
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0000.00817.23
8.1.180.0050.00318.10
8.1.170.0000.00818.67
8.1.160.0000.00718.78
8.1.150.0070.00018.73
8.1.140.0050.00222.13
8.1.130.0000.00820.12
8.1.120.0030.00617.38
8.1.110.0000.01017.32
8.1.100.0040.00417.46
8.1.90.0040.00417.41
8.1.80.0080.00017.44
8.1.70.0000.00917.42
8.1.60.0000.00817.55
8.1.50.0030.00917.29
8.1.40.0040.00417.34
8.1.30.0050.00317.50
8.1.20.0090.00017.57
8.1.10.0080.00017.53
8.1.00.0080.00017.47
8.0.300.0040.00418.77
8.0.290.0050.00516.58
8.0.280.0000.00818.35
8.0.270.0070.00017.25
8.0.260.0030.00320.13
8.0.250.0060.00316.97
8.0.240.0050.00316.88
8.0.230.0040.00416.97
8.0.220.0040.00416.91
8.0.210.0030.00316.77
8.0.200.0050.00216.84
8.0.190.0070.00016.93
8.0.180.0000.00816.92
8.0.170.0060.00316.92
8.0.160.0040.00416.79
8.0.150.0040.00416.84
8.0.140.0000.00716.70
8.0.130.0000.00613.34
8.0.120.0030.00516.83
8.0.110.0000.00716.78
8.0.100.0040.00416.69
8.0.90.0020.00516.76
8.0.80.0070.01016.85
8.0.70.0040.00416.77
8.0.60.0040.00416.95
8.0.50.0040.00416.68
8.0.30.0070.01217.25
8.0.20.0090.00917.40
8.0.10.0000.00716.89
8.0.00.0130.00716.78
7.4.330.0000.00515.55
7.4.320.0030.00316.48
7.4.300.0000.00716.53
7.4.290.0060.00316.51
7.4.280.0000.00816.55
7.4.270.0080.00016.64
7.4.260.0000.00716.51
7.4.250.0000.00716.39
7.4.240.0000.00716.65
7.4.230.0070.00016.34
7.4.220.0000.00816.66
7.4.210.0070.01116.55
7.4.200.0030.00516.59
7.4.160.0070.01016.45
7.4.140.0110.00917.86
7.4.130.0160.00316.49
7.4.120.0090.01016.60
7.4.110.0110.00816.71
7.4.100.0140.00416.48
7.4.90.0150.00316.44
7.4.80.0060.01019.39
7.4.70.0070.01116.44
7.4.60.0160.00316.50
7.4.50.0080.00816.64
7.4.40.0100.01016.54
7.4.00.0060.01215.02
7.3.330.0030.00313.35
7.3.320.0000.00613.16
7.3.310.0020.00516.26
7.3.300.0040.00416.32
7.3.290.0070.00016.24
7.3.280.0130.00316.21
7.3.260.0060.01316.51
7.3.240.0080.00916.36
7.3.230.0130.01016.55
7.3.210.0100.00616.44
7.3.200.0110.00516.68
7.3.190.0030.01316.38
7.3.180.0090.00916.60
7.3.170.0090.00616.45
7.3.160.0100.00616.37
7.2.330.0060.01116.50
7.2.320.0140.00416.63
7.2.310.0140.00316.45
7.2.300.0120.00916.73
7.2.290.0060.01116.71
7.2.110.0700.00914.49
7.2.100.1090.00714.43
7.2.90.0790.00714.69
7.2.80.0820.00714.51
7.2.70.0850.01314.78
7.2.60.0670.01014.58
7.2.50.0830.00914.54
7.2.40.0840.00714.98
7.2.30.0880.00614.80
7.2.20.0780.00714.81
7.2.10.0930.00614.88
7.2.00.0900.00614.64
7.1.230.0990.00313.69
7.1.220.1600.00713.53
7.1.210.0790.01013.58
7.1.200.1020.00313.64
7.1.190.1310.00013.52
7.1.180.0870.00713.68
7.1.170.0870.01014.05
7.1.160.0890.00713.85
7.1.150.0610.00013.79
7.1.140.0940.01013.67
7.1.130.0940.00013.65
7.1.120.0860.01013.72
7.1.110.1350.00313.68
7.1.100.0660.01013.79
7.1.90.0740.00313.77
7.1.80.0690.00913.91
7.1.70.1270.01013.77
7.1.60.1060.01031.69
7.1.50.1070.01031.73
7.1.40.1140.01331.76
7.1.30.1220.01431.68
7.1.20.1180.00431.82
7.1.10.0950.00313.68
7.1.00.0860.00913.72
5.6.380.0090.00314.09

preferences:
57.82 ms | 400 KiB | 5 Q