3v4l.org

run code in 200+ 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
based on i3vMU

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)
7.4.40.0090.01016.32
7.4.30.0100.01016.23
7.4.20.0100.00916.20
7.4.10.0110.00916.21
7.4.00.0090.00916.37
7.3.160.0080.00916.11
7.3.150.0100.00916.19
7.3.140.0090.00916.20
7.3.130.0100.00916.16
7.3.120.0090.00916.19
7.3.110.0090.00816.19
7.3.100.0100.00816.17
7.3.90.0090.01016.21
7.3.80.0090.01016.21
7.3.70.0080.01016.15
7.3.60.0080.01016.12
7.3.50.0100.01016.14
7.3.40.0100.00916.17
7.3.30.0110.00816.11
7.3.20.0100.00916.54
7.3.10.0110.00816.62
7.3.00.0070.01116.61
7.2.290.0110.00816.45
7.2.280.0100.01016.31
7.2.270.0090.01016.32
7.2.260.0090.01016.29
7.2.250.0100.00916.30
7.2.240.0090.00916.33
7.2.230.0090.00916.33
7.2.220.0100.00916.27
7.2.210.0090.01016.27
7.2.200.0100.01016.26
7.2.190.0080.01316.22
7.2.180.0080.01216.26
7.2.170.0080.01116.23
7.2.160.0100.00916.27
7.2.150.0110.00916.83
7.2.140.0110.01016.80
7.2.130.0110.01016.82
7.2.120.0110.00816.76
7.2.110.0110.00916.79
7.2.100.0100.01016.80
7.2.90.0100.01016.79
7.2.80.0110.00916.85
7.2.70.0100.01016.79
7.2.60.0100.00916.84
7.2.50.0100.01016.79
7.2.40.0100.01116.88
7.2.30.0090.01016.84
7.2.20.0100.01016.79
7.2.10.0100.00916.78
7.2.00.0100.01016.77
7.1.330.0190.00916.10
7.1.320.0130.01116.19
7.1.310.0180.01016.02
7.1.300.0110.01416.17
7.1.290.0120.01516.07
7.1.280.0160.01016.14
7.1.270.0150.00815.99
7.1.260.0150.00916.16
7.1.250.0120.01416.06
7.1.240.0330.00616.17
7.1.230.0130.01216.07
7.1.220.0250.00516.20
7.1.210.0120.01316.14
7.1.200.0140.01016.15
7.1.190.0110.01116.08
7.1.180.0110.01316.18
7.1.170.0110.01316.10
7.1.160.0150.01016.12
7.1.150.0110.01616.16
7.1.140.0140.00916.18
7.1.130.0180.00616.03
7.1.120.0160.00816.10
7.1.110.0220.00716.31
7.1.100.0100.01216.22
7.1.90.0100.01415.94
7.1.80.0140.00916.17
7.1.70.0120.00716.22
7.1.60.0140.00416.08
7.1.50.0100.01116.25
7.1.40.0080.01016.34
7.1.30.0130.00916.30
7.1.20.0080.01416.27
7.1.10.0120.01016.04
7.1.00.0150.00616.13
7.0.330.0160.00616.03
7.0.320.0160.00515.91
7.0.310.0130.00815.79
7.0.300.0150.00916.06
7.0.290.0120.01216.05
7.0.280.0160.00815.82
7.0.270.0110.00915.85
7.0.260.0120.00715.83
7.0.250.0110.00915.83
7.0.240.0100.01215.89
7.0.230.0070.01315.98
7.0.220.0110.01116.08
7.0.210.0070.01216.03
7.0.200.0130.00915.94
7.0.190.0070.01015.95
7.0.180.0130.00615.87
7.0.170.0100.00616.05
7.0.160.0160.00515.90
7.0.150.0140.00715.86
7.0.140.0060.01215.91
7.0.130.0060.01315.70
7.0.120.0150.00515.94
7.0.110.0100.00915.81
7.0.100.0090.01215.96
7.0.90.0060.00915.96
7.0.80.0110.01115.78
7.0.70.0100.01015.74
7.0.60.0130.00816.02
7.0.50.0190.00915.97
7.0.40.0140.00715.99
7.0.30.0120.01015.80
7.0.20.0080.01315.88
7.0.10.0140.00916.00
7.0.00.0110.00915.90
5.6.400.0120.01315.88
5.6.390.0170.00915.61
5.6.380.0110.01115.84
5.6.370.0080.01715.67
5.6.360.0100.01215.78
5.6.350.0190.00515.68
5.6.340.0170.00915.80
5.6.330.0110.01315.47
5.6.320.0120.01115.57
5.6.310.0040.01515.62
5.6.300.0130.00715.82
5.6.290.0040.02015.70
5.6.280.0110.01315.80
5.6.270.0120.01015.45
5.6.260.0130.00915.70
5.6.250.0090.01715.43
5.6.240.0110.01115.55
5.6.230.0100.01115.49
5.6.220.0130.01015.72
5.6.210.0180.00515.65
5.6.200.0060.01815.67
5.6.190.0100.01415.56
5.6.180.0140.01115.69
5.6.170.0100.01415.71
5.6.160.0120.01115.75
5.6.150.0130.01215.46
5.6.140.0120.00915.68
5.6.130.0170.00915.61
5.6.120.0140.00615.57
5.6.110.0150.00715.50
5.6.100.0150.00615.55
5.6.90.0160.00815.72
5.6.80.0130.01015.44
5.6.70.0140.00815.65
5.6.60.0130.00815.52
5.6.50.0150.00915.62
5.6.40.0070.01615.64
5.6.30.0100.01215.51
5.6.20.0090.01515.61
5.6.10.0150.00815.65
5.6.00.0090.01815.63
5.5.380.0140.01515.47
5.5.370.0240.00615.67
5.5.360.0150.01215.81
5.5.350.0170.01315.76
5.5.340.0160.01215.62
5.5.330.0150.01315.64
5.5.320.0150.01215.49
5.5.310.0110.01815.46
5.5.300.0190.01015.75
5.5.290.0210.00815.50
5.5.280.0130.01415.61
5.5.270.0170.01315.63
5.5.260.0180.01015.50
5.5.250.0200.00815.49
5.5.240.0160.01215.41
5.5.230.0170.01015.46
5.5.220.0110.01415.36
5.5.210.0160.01215.55
5.5.200.0140.01315.51
5.5.190.0190.01215.54
5.5.180.0120.01515.35
5.5.170.0190.00815.65
5.5.160.0160.01715.47
5.5.150.0160.01315.67
5.5.140.0230.00415.51
5.5.130.0180.01115.42
5.5.120.0150.01215.63
5.5.110.0230.00715.42
5.5.100.0190.01015.51
5.5.90.0150.01515.53
5.5.80.0140.01615.50
5.5.70.0220.01315.68
5.5.60.0200.00815.65
5.5.50.0190.01115.67
5.5.40.0140.01515.39
5.5.30.0220.00915.42
5.5.20.0140.01315.64
5.5.10.0230.00915.60
5.5.00.0220.00615.46
5.4.450.0100.00912.29
5.4.440.0100.00812.39
5.4.430.0130.00612.52
5.4.420.0090.01312.25
5.4.410.0170.00512.44
5.4.400.0120.00812.44
5.4.390.0120.00912.43
5.4.380.0150.00612.37
5.4.370.0130.00712.41
5.4.360.0140.00612.31
5.4.350.0150.00612.32
5.4.340.0070.01312.28
5.4.330.0160.00712.33
5.4.320.0090.01412.27
5.4.310.0150.00712.36
5.4.300.0110.00912.28
5.4.290.0180.00512.30
5.4.280.0170.00712.31
5.4.270.0150.00712.39
5.4.260.0070.01412.39
5.4.250.0110.00812.20
5.4.240.0130.00712.22
5.4.230.0130.00812.46
5.4.220.0170.00512.21
5.4.210.0140.00712.30
5.4.200.0100.01212.17
5.4.190.0060.01412.26
5.4.180.0190.00412.34
5.4.170.0070.01412.31
5.4.160.0110.00912.29
5.4.150.0150.00812.38
5.4.140.0070.01312.26
5.4.130.0130.00612.56
5.4.120.0110.01112.45
5.4.110.0160.00812.51
5.4.100.0130.00712.26
5.4.90.0100.00912.43
5.4.80.0070.01412.41
5.4.70.0100.01012.39
5.4.60.0130.00612.51
5.4.50.0130.00712.36
5.4.40.0150.00612.39
5.4.30.0160.00312.30
5.4.20.0110.00912.36
5.4.10.0120.01112.35
5.4.00.0100.01012.36
5.3.290.0180.00812.86
5.3.280.0160.00712.69
5.3.270.0170.00512.81
5.3.260.0070.01112.85
5.3.250.0140.00712.84
5.3.240.0110.00912.89
5.3.230.0130.01012.97
5.3.220.0180.00512.72
5.3.210.0170.00712.84
5.3.200.0080.01412.73
5.3.190.0130.01012.92
5.3.180.0150.01012.94
5.3.170.0110.01112.89
5.3.160.0110.01213.03
5.3.150.0160.00513.06
5.3.140.0100.01312.89
5.3.130.0080.01412.79
5.3.120.0120.01012.87
5.3.110.0140.00712.88
5.3.100.0100.00912.84
5.3.90.0090.00912.92
5.3.80.0110.00712.76
5.3.70.0120.00612.86
5.3.60.0140.00512.91
5.3.50.0070.01112.64
5.3.40.0100.01012.73
5.3.30.0050.01412.89
5.3.20.0110.00912.72
5.3.10.0130.01012.56
5.3.00.0140.00812.54
5.2.170.0130.00611.90
5.2.160.0080.01011.90
5.2.150.0110.00711.88
5.2.140.0070.01011.86
5.2.130.0090.01011.82
5.2.120.0140.00411.87
5.2.110.0090.00911.79
5.2.100.0090.01011.82
5.2.90.0100.01011.86
5.2.80.0140.00611.76
5.2.70.0140.00711.65
5.2.60.0110.00811.62
5.2.50.0140.00411.76
5.2.40.0080.01011.85
5.2.30.0160.00411.69
5.2.20.0120.00611.66
5.2.10.0090.01011.55
5.2.00.0120.00811.56
5.1.60.0120.00511.10
5.1.50.0130.00411.07
5.1.40.0140.00211.22
5.1.30.0080.01011.22
5.1.20.0110.00911.13
5.1.10.0130.00411.20
5.1.00.0100.00611.03
5.0.50.0070.01010.77
5.0.40.0060.00810.62
5.0.30.0090.00510.69
5.0.20.0080.00610.67
5.0.10.0080.00710.58
5.0.00.0080.00710.49
4.4.90.0080.00210.27
4.4.80.0080.00110.27
4.4.70.0040.00610.27
4.4.60.0060.00210.27
4.4.50.0070.00410.27
4.4.40.0040.00510.27
4.4.30.0080.00010.27
4.4.20.0050.00410.27
4.4.10.0050.00510.27
4.4.00.0050.00410.27
4.3.110.0060.00310.27
4.3.100.0060.00210.27
4.3.90.0060.00310.27
4.3.80.0070.00210.27
4.3.70.0020.00710.27
4.3.60.0040.00410.27
4.3.50.0060.00410.27
4.3.40.0070.00210.27
4.3.30.0050.00310.27
4.3.20.0040.00510.27
4.3.10.0050.00410.27
4.3.00.0030.00510.27