3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); ini_set('display_errors','On'); // array is higher than Infinity and string and 20: var_dump(max(20,"string",INF,array())); // InvalidArgumentException? TypeError? never heard of it

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.0110.00718.55
8.3.50.0070.00718.14
8.3.40.0120.00320.61
8.3.30.0070.00718.84
8.3.20.0080.00020.70
8.3.10.0040.00420.50
8.3.00.0000.00822.70
8.2.180.0140.00318.03
8.2.170.0120.00422.96
8.2.160.0070.01119.21
8.2.150.0060.00324.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0060.00320.81
8.2.110.0120.00022.26
8.2.100.0090.00317.47
8.2.90.0000.00817.91
8.2.80.0040.00419.03
8.2.70.0080.00017.25
8.2.60.0080.00017.38
8.2.50.0090.00319.04
8.2.40.0140.00320.01
8.2.30.0110.00619.38
8.2.20.0070.00818.97
8.2.10.0120.00419.42
8.2.00.0070.00819.34
8.1.280.0060.00925.92
8.1.270.0000.00820.58
8.1.260.0100.00726.35
8.1.250.0070.00028.09
8.1.240.0040.00820.75
8.1.230.0110.00022.83
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0000.00817.11
8.1.190.0040.00417.10
8.1.180.0060.00919.04
8.1.170.0050.00819.17
8.1.160.0080.00519.87
8.1.150.0080.00519.27
8.1.140.0130.00119.27
8.1.130.0120.00218.74
8.1.120.0070.00618.78
8.1.110.0090.00418.40
8.1.100.0100.00418.42
8.1.90.0080.00618.36
8.1.80.0110.00218.39
8.1.70.0100.00318.38
8.1.60.0090.00518.49
8.1.50.0100.00418.43
8.1.40.0090.00618.43
8.1.30.0070.00918.51
8.1.20.0160.00218.46
8.1.10.0110.00518.42
8.1.00.0070.00818.35
8.0.300.0030.00320.02
8.0.290.0000.00716.58
8.0.280.0110.00419.11
8.0.270.0050.00818.56
8.0.260.0110.00218.57
8.0.250.0140.00118.63
8.0.240.0090.00618.16
8.0.230.0090.00618.14
8.0.220.0090.00418.11
8.0.210.0120.00218.14
8.0.200.0100.00418.13
8.0.190.0090.00518.14
8.0.180.0120.00318.11
8.0.170.0060.00818.12
8.0.160.0110.00418.09
8.0.150.0110.00318.10
8.0.140.0090.00418.13
8.0.130.0110.00217.23
8.0.120.0070.00618.04
8.0.110.0090.00418.09
8.0.100.0060.00718.08
8.0.90.0090.00418.13
8.0.80.0100.00717.86
8.0.70.0090.00518.08
8.0.60.0060.00718.09
8.0.50.0100.00418.10
8.0.30.0120.00518.20
8.0.20.0110.00617.85
8.0.10.0070.00618.16
8.0.00.0120.00517.58
7.4.330.0060.00118.20
7.4.320.0050.00617.98
7.4.300.0090.00617.94
7.4.290.0090.00617.93
7.4.280.0130.00317.95
7.4.270.0100.00417.99
7.4.260.0090.00517.16
7.4.250.0100.00417.92
7.4.240.0100.00217.66
7.4.230.0100.00317.98
7.4.220.0080.00417.60
7.4.210.0100.00617.26
7.4.200.0120.00117.97
7.4.190.0070.00718.45
7.4.180.0160.00018.49
7.4.160.0140.00218.44
7.4.150.0100.00418.49
7.4.140.0040.00818.41
7.4.130.0100.00817.23
7.4.120.0080.00917.32
7.4.110.0100.00617.22
7.4.100.0120.00517.19
7.4.90.0090.00717.13
7.4.80.0120.00717.32
7.4.70.0120.00516.93
7.4.60.0110.00716.56
7.4.50.0100.00916.51
7.4.40.0080.01016.47
7.4.30.0090.00916.38
7.4.20.0090.00916.35
7.4.10.0110.00816.36
7.4.00.0090.00916.46
7.3.330.0110.00317.79
7.3.320.0060.00717.02
7.3.310.0090.00417.86
7.3.300.0020.01117.80
7.3.290.0110.00517.28
7.3.280.0100.00518.34
7.3.270.0140.00318.33
7.3.260.0130.00417.57
7.3.250.0100.00817.50
7.3.240.0100.00816.98
7.3.230.0090.00917.09
7.3.220.0110.00717.20
7.3.210.0100.00816.98
7.3.200.0100.01016.90
7.3.190.0120.00616.84
7.3.180.0100.00716.50
7.3.170.0110.00816.45
7.3.160.0100.00916.39
7.3.150.0110.00816.34
7.3.140.0100.00816.35
7.3.130.0100.00916.30
7.3.120.0090.00916.33
7.3.110.0100.00916.29
7.3.100.0090.00916.33
7.3.90.0090.01016.31
7.3.80.0090.00916.31
7.3.70.0090.00916.28
7.3.60.0090.01016.28
7.3.50.0090.01016.26
7.3.40.0100.00816.29
7.3.30.0110.00816.25
7.3.20.0110.00916.56
7.3.10.0120.00816.60
7.3.00.0110.00916.59
7.2.340.0150.00517.38
7.2.330.0120.00717.03
7.2.320.0140.00516.98
7.2.310.0120.00716.57
7.2.300.0110.00816.61
7.2.290.0110.00916.52
7.2.280.0110.00916.42
7.2.270.0100.00916.43
7.2.260.0090.01016.41
7.2.250.0100.00916.42
7.2.240.0110.00816.44
7.2.230.0090.00916.43
7.2.220.0110.00816.38
7.2.210.0100.00916.40
7.2.200.0100.01016.42
7.2.190.0090.01116.36
7.2.180.0100.01016.41
7.2.170.0100.01016.39
7.2.160.0100.00916.40
7.2.150.0120.00816.75
7.2.140.0120.00916.74
7.2.130.0120.01016.76
7.2.120.0110.00916.75
7.2.110.0120.00916.73
7.2.100.0110.00916.75
7.2.90.0110.01016.74
7.2.80.0120.00916.78
7.2.70.0110.00916.74
7.2.60.0120.00916.77
7.2.50.0120.00916.75
7.2.40.0110.01016.81
7.2.30.0100.01016.80
7.2.20.0100.01016.72
7.2.10.0110.00916.69
7.2.00.0110.00916.73

preferences:
92.06 ms | 400 KiB | 5 Q