3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(string $bar) { } foo('');

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.140.0000.00718.21
8.3.130.0000.00816.55
8.3.120.0040.00420.86
8.3.110.0060.00320.94
8.3.100.0040.00424.06
8.3.90.0070.01316.52
8.3.80.0060.00317.97
8.3.70.0120.00616.50
8.3.60.0090.00916.75
8.3.50.0100.00618.11
8.3.40.0120.00318.58
8.3.30.0060.00920.82
8.3.20.0080.00622.68
8.3.10.0110.00322.73
8.3.00.0080.00621.25
8.2.250.0030.00616.70
8.2.240.0060.00316.79
8.2.230.0030.00622.58
8.2.220.0060.00337.54
8.2.210.0110.00726.77
8.2.200.0030.00616.50
8.2.190.0040.01116.58
8.2.180.0180.00318.29
8.2.170.0140.00018.88
8.2.160.0040.01122.96
8.2.150.0080.00323.57
8.2.140.0060.00623.81
8.2.130.0070.00524.56
8.2.120.0050.00522.00
8.2.110.0030.01022.05
8.2.100.0070.00820.37
8.2.90.0030.00920.56
8.2.80.0120.00120.47
8.2.70.0030.00920.29
8.2.60.0110.00618.38
8.2.50.0100.00718.50
8.2.40.0090.00618.77
8.2.30.0100.00518.80
8.2.20.0080.00518.64
8.2.10.0100.00418.58
8.2.00.0070.00518.01
8.1.300.0040.00420.04
8.1.290.0090.00018.88
8.1.280.0110.00325.92
8.1.270.0050.00523.92
8.1.260.0060.00625.08
8.1.250.0050.00625.93
8.1.240.0060.00623.38
8.1.230.0070.00521.91
8.1.220.0140.00220.35
8.1.210.0130.00520.87
8.1.200.0110.00319.97
8.1.190.0080.00718.14
8.1.180.0100.00518.49
8.1.170.0100.00518.33
8.1.160.0120.00418.60
8.1.150.0100.00518.54
8.1.140.0100.00618.26
8.1.130.0100.00618.32
8.1.120.0090.00518.30
8.1.110.0120.00318.26
8.1.100.0070.00718.15
8.1.90.0080.00618.31
8.1.80.0100.00418.29
8.1.70.0080.00618.24
8.1.60.0070.00818.43
8.1.50.0080.00718.43
8.1.40.0120.00418.45
8.1.30.0090.00618.35
8.1.20.0130.00418.33
8.1.10.0130.00518.11
8.1.00.0120.00618.08
8.0.300.0080.00421.36
8.0.290.0140.00419.79
8.0.280.0130.00418.18
8.0.270.0110.00517.84
8.0.260.0090.00817.86
8.0.250.0100.00617.88
8.0.240.0120.00417.91
8.0.230.0120.00417.88
8.0.220.0100.00617.89
8.0.210.0150.00317.86
8.0.200.0120.00617.87
8.0.190.0130.00417.86
8.0.180.0100.00517.89
8.0.170.0110.00617.90
8.0.160.0090.00717.68
8.0.150.0120.00517.67
8.0.140.0110.00717.65
8.0.130.0130.00317.08
8.0.120.0110.00817.62
8.0.110.0120.00317.64
8.0.100.0110.00517.64
8.0.90.0130.00417.64
8.0.80.0140.00417.66
8.0.70.0090.00617.65
8.0.60.0130.00517.63
8.0.50.0120.00617.62
8.0.30.0100.00917.32
8.0.20.0100.01017.45
8.0.10.0130.00617.45
8.0.00.0090.00917.22
7.4.330.0090.00517.61
7.4.320.0120.00417.78
7.4.300.0160.00217.78
7.4.290.0110.00617.79
7.4.280.0160.00317.58
7.4.270.0130.00717.57
7.4.260.0170.00317.57
7.4.250.0150.00617.54
7.4.240.0130.00517.55
7.4.230.0110.00617.53
7.4.220.0080.00817.57
7.4.210.0130.00417.37
7.4.200.0140.00317.55
7.4.190.0150.00417.81
7.4.180.0140.00417.79
7.4.160.0130.00617.11
7.4.150.0160.00417.20
7.4.140.0120.00717.37
7.4.130.0120.00617.01
7.4.120.0110.00716.80
7.4.110.0130.00616.95
7.4.100.0110.00817.00
7.4.90.0110.01016.95
7.4.80.0120.00717.25
7.4.70.0110.00816.95
7.4.60.0090.00716.93
7.4.50.0100.00716.81
7.4.40.0110.00716.91
7.4.30.0110.00616.88
7.4.20.0120.00716.80
7.4.10.0100.00816.70
7.4.00.0070.01016.39
7.3.330.0120.00416.93
7.3.320.0130.00216.96
7.3.310.0130.00317.45
7.3.300.0120.00517.48
7.3.290.0130.00417.48
7.3.280.0110.00716.98
7.3.270.0140.00617.16
7.3.260.0110.00816.88
7.3.250.0130.00716.98
7.3.240.0130.00616.81
7.3.230.0120.00616.88
7.3.220.0100.00817.02
7.3.210.0120.00716.93
7.3.200.0140.00616.86
7.3.190.0140.00516.91
7.3.180.0130.00616.82
7.3.170.0100.00916.85
7.3.160.0110.00916.86
7.3.150.0150.00516.88
7.3.140.0110.00816.82
7.3.130.0130.00616.60
7.3.120.0100.00816.39
7.3.110.0110.00716.40
7.3.100.0090.00816.22
7.3.90.0090.00716.26
7.3.80.0090.00816.21
7.3.70.0100.00616.20
7.3.60.0080.00916.05
7.3.50.0090.00816.06
7.3.40.0100.00716.07
7.3.30.0110.00615.87
7.3.20.0240.00716.54
7.3.10.0210.00816.51
7.3.00.0240.00616.52
7.2.340.0150.00716.97
7.2.330.0140.00816.93
7.2.320.0110.01016.99
7.2.310.0170.00616.95
7.2.300.0140.00816.92
7.2.290.0130.00816.81
7.2.280.0140.00916.95
7.2.270.0170.00616.83
7.2.260.0140.00716.73
7.2.250.0130.00716.50
7.2.240.0130.00816.51
7.2.230.0130.00616.30
7.2.220.0110.00916.29
7.2.210.0120.00816.31
7.2.200.0120.00816.30
7.2.190.0120.00816.16
7.2.180.0120.00716.11
7.2.170.0120.00716.15
7.2.160.0110.00816.08
7.2.150.0260.00716.69
7.2.140.0260.00816.67
7.2.130.0260.00716.72
7.2.120.0300.00616.72
7.2.110.0280.00716.67
7.2.100.0250.00816.69
7.2.90.0290.00916.72
7.2.80.0310.00816.71
7.2.70.0330.00616.73
7.2.60.0230.00816.67
7.2.50.0260.00616.64
7.2.40.0370.00816.80
7.2.30.0300.00616.73
7.2.20.0270.00916.79
7.2.10.0350.00716.75
7.2.00.0370.00716.75
7.1.330.0150.00716.41
7.1.320.0140.00716.10
7.1.310.0140.00616.10
7.1.300.0140.00716.01
7.1.290.0130.00816.03
7.1.280.0110.00716.03
7.1.270.0220.00715.69
7.1.260.0210.00915.74
7.1.250.0310.00615.61
7.1.240.0300.00715.54
7.1.230.0300.00815.55
7.1.220.0400.00915.58
7.1.210.0310.00715.56
7.1.200.0260.00715.54
7.1.190.0310.00815.56
7.1.180.0260.00715.60
7.1.170.0280.00615.53
7.1.160.0280.00815.63
7.1.150.0270.00715.60
7.1.140.0320.00815.63
7.1.130.0370.00815.62
7.1.120.0390.00815.66
7.1.110.0420.00715.63
7.1.100.0370.00715.61
7.1.90.0330.00915.59
7.1.80.0320.00815.65
7.1.70.0330.00715.54
7.1.60.0280.00817.05
7.1.50.0270.00917.07
7.1.40.0270.00916.99
7.1.30.0280.00716.97
7.1.20.0280.00916.99
7.1.10.0280.00715.47
7.1.00.0350.00815.51
7.0.330.0320.00815.29
7.0.320.0220.00915.63
7.0.310.0250.00915.59
7.0.300.0260.00715.58
7.0.290.0250.00915.66
7.0.280.0250.00615.60
7.0.270.0410.00615.70
7.0.260.0440.00815.68
7.0.250.0410.00715.65
7.0.240.0390.00615.66
7.0.230.0300.00915.68
7.0.220.0360.00715.63
7.0.210.0250.00715.50
7.0.200.0350.00615.56
7.0.190.0280.00815.50
7.0.180.0270.00915.48
7.0.170.0280.00715.49
7.0.160.0250.00715.48
7.0.150.0330.00715.47
7.0.140.0290.00815.47
7.0.130.0230.00815.53
7.0.120.0260.00615.51
7.0.110.0260.00715.49
7.0.100.0300.00815.48
7.0.90.0250.00815.51
7.0.80.0220.00815.49
7.0.70.0250.00815.45
7.0.60.0220.00915.47
7.0.50.0360.00815.46
7.0.40.0240.00715.52
7.0.30.0230.00915.51
7.0.20.0180.00815.50
7.0.10.0280.00815.69
7.0.00.0220.00715.41
5.6.400.0120.00815.76
5.6.390.0120.01015.50
5.6.380.0120.01115.56
5.6.370.0160.00715.91
5.6.360.0150.00715.84
5.6.350.0150.00715.81
5.6.340.0160.00815.88
5.6.330.0150.00815.81
5.6.320.0140.00815.86
5.6.310.0160.00615.89
5.6.300.0150.01416.38
5.6.290.0150.01416.36
5.6.280.0130.01616.42
5.6.270.0160.01516.42
5.6.260.0160.01416.35
5.6.250.0140.01416.39
5.6.240.0150.01516.40
5.6.230.0160.01516.38
5.6.220.0160.01516.38
5.6.210.0150.01516.36
5.6.200.0150.01616.42
5.6.190.0150.01616.38
5.6.180.0140.01516.38
5.6.170.0170.01316.38
5.6.160.0170.01516.35
5.6.150.0170.01516.33
5.6.140.0160.01516.38
5.6.130.0160.01416.33
5.6.120.0160.01516.38
5.6.110.0140.01516.38
5.6.100.0150.01416.28
5.6.90.0140.01416.37
5.6.80.0150.01416.27
5.6.70.0130.01416.27
5.6.60.0130.01516.23
5.6.50.0150.01416.23
5.6.40.0130.01516.26
5.6.30.0150.01416.26
5.6.20.0130.01416.23
5.6.10.0140.01416.26
5.6.00.0150.01416.21

preferences:
60.42 ms | 403 KiB | 5 Q