3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = [ [3, 6], [2, 9], ]; var_dump(min(...$input)); $input = [ ["three" => 3, "six" => 6], ["two" => 2, "nine" => 9], ]; var_dump(min(...$input));

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.4.20.0110.01118.53
8.4.10.0060.00317.37
8.3.140.0120.00316.97
8.3.130.0080.00018.63
8.3.120.0040.00418.80
8.3.110.0030.00520.94
8.3.100.0060.00324.06
8.3.90.0080.00026.77
8.3.80.0050.00517.97
8.3.70.0120.00318.32
8.3.60.0130.00716.63
8.3.50.0170.00317.21
8.3.40.0070.00718.67
8.3.30.0000.01418.54
8.3.20.0060.00318.53
8.3.10.0040.00421.78
8.3.00.0070.00023.48
8.2.260.0080.00018.59
8.2.250.0030.00618.58
8.2.240.0060.00317.11
8.2.230.0090.00622.58
8.2.220.0000.00837.54
8.2.210.0110.00426.77
8.2.200.0090.00016.63
8.2.190.0070.00718.27
8.2.180.0220.00316.37
8.2.170.0070.00722.96
8.2.160.0060.00918.80
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0030.00620.95
8.2.120.0000.00826.35
8.2.110.0060.00320.47
8.2.100.0060.00617.77
8.2.90.0060.00317.91
8.2.80.0040.00419.10
8.2.70.0060.00317.38
8.2.60.0030.00617.91
8.2.50.0030.00618.07
8.2.40.0000.00818.22
8.2.30.0060.00318.00
8.2.20.0000.00717.87
8.2.10.0000.00718.00
8.2.00.0000.01018.02
8.1.310.0000.00816.73
8.1.300.0090.00017.71
8.1.290.0000.01030.84
8.1.280.0100.00325.92
8.1.270.0080.00023.99
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00622.42
8.1.230.0070.00422.74
8.1.220.0060.00317.77
8.1.210.0030.00518.77
8.1.200.0000.00917.25
8.1.190.0050.00317.36
8.1.180.0000.00818.10
8.1.170.0000.00818.60
8.1.160.0040.00418.89
8.1.150.0070.00018.73
8.1.140.0000.00718.76
8.1.130.0030.00320.32
8.1.120.0000.00717.44
8.1.110.0050.00317.37
8.1.100.0000.00817.29
8.1.90.0000.00817.41
8.1.80.0060.00317.43
8.1.70.0070.00317.39
8.1.60.0040.00417.40
8.1.50.0060.00317.50
8.1.40.0030.00617.54
8.1.30.0070.00417.59
8.1.20.0040.00417.63
8.1.10.0000.00817.34
8.1.00.0000.00817.41
8.0.300.0040.00419.98
8.0.290.0040.00416.58
8.0.280.0000.00718.50
8.0.270.0070.00017.20
8.0.260.0000.00821.98
8.0.250.0070.00016.79
8.0.240.0000.00616.77
8.0.230.0000.00716.89
8.0.220.0030.00316.82
8.0.210.0070.00016.84
8.0.200.0060.00316.77
8.0.190.0000.00716.90
8.0.180.0000.00816.76
8.0.170.0040.00416.87
8.0.160.0070.00016.88
8.0.150.0000.00716.79
8.0.140.0000.00716.83
8.0.130.0000.00513.21
8.0.120.0070.00016.80
8.0.110.0040.00416.80
8.0.100.0080.00016.66
8.0.90.0040.00416.80
8.0.80.0040.01216.85
8.0.70.0040.00416.73
8.0.60.0000.00716.92
8.0.50.0050.00316.71
8.0.30.0110.00817.00
8.0.20.0100.00817.40
8.0.10.0000.00816.84
8.0.00.0080.00916.59
7.4.330.0060.00015.55
7.4.320.0030.00316.45
7.4.300.0030.00316.52
7.4.290.0070.00016.47
7.4.280.0060.00316.41
7.4.270.0000.00716.45
7.4.260.0000.00816.40
7.4.250.0050.00216.53
7.4.240.0000.00816.38
7.4.230.0030.00516.59
7.4.220.0070.00016.27
7.4.210.0060.01016.49
7.4.200.0000.00716.59
7.4.160.0090.00816.46
7.4.140.0110.00817.86
7.4.130.0150.00616.60
7.4.120.0100.00816.40
7.4.110.0120.00916.29
7.4.100.0060.01016.38
7.4.90.0070.01016.42
7.4.80.0110.00519.39
7.4.70.0090.00916.32
7.4.60.0100.01016.61
7.4.50.0100.00316.43
7.4.40.0100.01416.43
7.4.00.0080.00714.69
7.3.330.0030.00312.86
7.3.320.0060.00012.86
7.3.310.0000.00716.06
7.3.300.0040.00415.98
7.3.290.0000.00716.11
7.3.280.0090.00616.18
7.3.260.0130.00416.21
7.3.240.0100.00916.21
7.3.230.0100.01316.31
7.3.210.0100.01016.01
7.3.200.0110.00616.33
7.3.190.0080.00816.35
7.3.180.0090.00616.02
7.3.170.0100.00616.35
7.3.160.0060.01016.09
7.3.120.0060.01214.63
7.3.110.0120.00314.32
7.3.100.0000.01014.65
7.3.90.0060.01114.61
7.3.80.0030.01014.61
7.3.70.0060.01214.63
7.3.60.0040.00414.74
7.3.50.0000.01514.67
7.3.40.0060.00614.76
7.3.30.0040.00414.64
7.3.20.0040.00416.59
7.3.10.0000.01316.37
7.3.00.0100.00316.45
7.2.330.0150.00616.26
7.2.320.0100.01316.44
7.2.310.0160.00416.57
7.2.300.0100.01016.46
7.2.290.0170.00016.18
7.2.250.0090.00614.74
7.2.240.0040.01514.92
7.2.230.0070.01014.59
7.2.220.0090.00614.90
7.2.210.0030.01114.81
7.2.200.0080.00414.75
7.2.190.0090.00014.56
7.2.180.0090.00614.95
7.2.170.0060.00314.75
7.2.100.0570.01014.43
7.2.90.0120.00214.61
7.2.80.0330.00414.11
7.2.70.0170.00014.82
7.2.60.0530.00615.02
7.2.50.2690.01314.57
7.2.40.0230.00514.93
7.2.30.0080.00814.92
7.2.20.0100.00714.45
7.2.10.0110.01114.87
7.2.00.1500.00314.64
7.1.330.0000.01415.70
7.1.320.0060.00915.75
7.1.310.0060.00615.66
7.1.300.0030.01015.84
7.1.290.0070.00715.64
7.1.280.0000.00815.57
7.1.270.0070.00715.64
7.1.260.0100.00415.78
7.1.220.0700.01413.73
7.1.210.0120.00313.91
7.1.200.0080.00813.80
7.1.190.0120.00813.81
7.1.180.0020.01313.80
7.1.170.0130.00313.52
7.1.160.0130.00413.75
7.1.150.0150.00013.75
7.1.140.2280.00013.70
7.1.130.0280.00613.57
7.1.120.1370.00313.43
7.1.110.0190.00813.54
7.1.100.0480.00913.71
7.1.90.1120.00013.83
7.1.80.0190.00013.35
7.1.70.0100.01013.70
7.1.60.3470.01331.57
7.1.50.0310.00931.72
7.1.40.1700.00731.67
7.1.30.1760.01032.00
7.1.20.3360.01331.74
7.1.10.4500.01313.45
7.1.00.3530.00613.70
5.6.380.0130.00314.38

preferences:
45.56 ms | 403 KiB | 5 Q