3v4l.org

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

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.10.0100.00619.44
8.3.140.0130.00618.85
8.3.130.0040.00418.40
8.3.120.0040.00418.90
8.3.110.0000.00820.94
8.3.100.0000.00724.06
8.3.90.0050.00326.77
8.3.80.0030.00616.50
8.3.70.0090.00616.58
8.3.60.0060.01016.88
8.3.50.0040.01120.48
8.3.40.0100.00719.04
8.3.30.0080.00819.07
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.250.0040.00417.27
8.2.240.0090.00018.56
8.2.230.0080.00022.58
8.2.220.0090.00037.54
8.2.210.0110.00426.77
8.2.200.0090.00016.63
8.2.190.0120.00316.75
8.2.180.0260.00425.92
8.2.170.0090.00618.83
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0050.00321.00
8.2.110.0060.00322.20
8.2.100.0120.00017.91
8.2.90.0000.00819.23
8.2.80.0080.00417.97
8.2.70.0000.00917.50
8.2.60.0000.00817.80
8.2.50.0060.00318.07
8.2.40.0000.00818.03
8.2.30.0000.00717.93
8.2.20.0040.00420.35
8.2.10.0000.00717.49
8.2.00.0000.00719.05
8.1.300.0060.00319.54
8.1.290.0030.00618.88
8.1.280.0130.00625.92
8.1.270.0000.00923.85
8.1.260.0030.00626.35
8.1.250.0040.00428.09
8.1.240.0000.00822.03
8.1.230.0070.00422.20
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0120.00017.22
8.1.190.0080.00017.35
8.1.180.0000.00818.10
8.1.170.0050.00318.66
8.1.160.0040.00418.75
8.1.150.0000.01018.50
8.1.140.0040.00417.31
8.1.130.0080.00017.28
8.1.120.0030.00317.29
8.1.110.0040.00417.38
8.1.100.0030.00417.26
8.1.90.0080.00017.26
8.1.80.0030.00517.36
8.1.70.0040.00417.32
8.1.60.0030.00517.45
8.1.50.0000.00817.43
8.1.40.0030.00617.34
8.1.30.0060.00617.47
8.1.20.0180.00717.56
8.1.10.0210.00317.43
8.1.00.0180.00617.38
8.0.300.0000.00718.77
8.0.290.0000.00816.63
8.0.280.0040.00418.36
8.0.270.0030.00317.91
8.0.260.0060.00016.80
8.0.250.0070.00016.91
8.0.240.0040.00416.89
8.0.230.0000.00716.98
8.0.220.0030.00316.77
8.0.210.0030.00316.87
8.0.200.0000.00716.92
8.0.190.0050.00316.94
8.0.180.0000.00816.79
8.0.170.0040.00416.91
8.0.160.0080.00416.85
8.0.150.0170.00516.80
8.0.140.0150.00716.73
8.0.130.0130.00616.88
8.0.120.0170.00416.88
8.0.110.0150.00616.82
8.0.100.0180.00416.85
8.0.90.0150.00216.78
8.0.80.0150.00316.89
8.0.70.0100.00516.76
8.0.60.0120.00316.77
8.0.50.0110.00416.89
8.0.30.0090.00716.84
8.0.20.0100.00616.82
8.0.10.0120.00616.88
8.0.00.0100.00516.94
7.4.330.0000.00415.55
7.4.320.0060.00016.48
7.4.300.0030.00316.53
7.4.290.0040.00416.29
7.4.280.0060.00216.42
7.4.270.0100.00616.36
7.4.260.0110.00516.45
7.4.250.0080.01316.41
7.4.240.0120.00916.43
7.4.230.0130.01016.47
7.4.220.0170.00316.39
7.4.210.0130.00716.42
7.4.200.0160.00516.41
7.4.190.0160.00516.48
7.4.180.0090.00916.51
7.4.160.0140.00516.47
7.4.150.0110.00816.41
7.4.140.0100.00716.36
7.4.130.0100.00416.34
7.4.120.0100.00716.38
7.4.110.0100.00416.29
7.4.100.0150.00216.36
7.4.90.0160.00316.40
7.4.80.0140.00616.33
7.4.70.0150.00516.33
7.4.60.0160.00316.42
7.4.50.0170.00316.29
7.4.40.0090.00816.31
7.4.30.0120.00316.34
7.4.20.0120.00416.32
7.4.10.0160.00216.30
7.4.00.0160.00316.36
7.3.330.0160.00416.23
7.3.320.0180.00316.39
7.3.310.0210.00016.28
7.3.300.0180.00316.16
7.3.290.0170.00616.14
7.3.280.0140.00716.30
7.3.270.0190.00316.32
7.3.260.0190.00016.29
7.3.250.0150.00516.17
7.3.240.0220.00016.23
7.3.230.0170.00316.16
7.3.220.0160.00516.24
7.3.210.0120.00816.07
7.3.200.0180.00316.33
7.3.190.0130.00916.21
7.3.180.0180.00316.21
7.3.170.0150.00416.21
7.3.160.0180.00616.27
7.3.150.0140.00716.24
7.3.140.0180.00416.08
7.3.130.0140.00516.21
7.3.120.0150.00616.27
7.3.110.0180.00516.02
7.3.100.0200.00016.20
7.3.90.0140.00516.38
7.3.80.0170.00416.23
7.3.70.0100.01016.29
7.3.60.0190.00016.36
7.3.50.0190.00016.37
7.3.40.0160.00616.30
7.3.30.0100.01016.31
7.3.20.0210.00016.37
7.3.10.0210.00316.13
7.3.00.0140.00916.38
7.2.340.0120.00816.08
7.2.330.0190.00316.35
7.2.320.0160.00516.30
7.2.310.0120.00916.09
7.2.300.0130.00716.13
7.2.290.0170.00316.13
7.2.280.0170.00416.20
7.2.270.0140.00716.24
7.2.260.0160.00316.12
7.2.250.0140.00516.28
7.2.240.0160.00416.13
7.2.230.0140.00516.36
7.2.220.0170.00316.10
7.2.210.0100.01016.10
7.2.200.0160.00416.39
7.2.190.0160.00316.40
7.2.180.0170.00316.41
7.2.170.0130.00716.28
7.2.160.0140.00716.31
7.2.150.0150.00516.46
7.2.140.0140.00716.37
7.2.130.0160.00316.63
7.2.120.0180.00316.66
7.2.110.0160.00516.52
7.2.100.0100.01016.57
7.2.90.0180.00316.47
7.2.80.0180.00416.29
7.2.70.0150.00516.34
7.2.60.0220.00016.44
7.2.50.0200.00416.45
7.2.40.0230.00016.49
7.2.30.0170.00416.61
7.2.20.0210.00216.55
7.2.10.0240.00016.36
7.2.00.0240.00016.39
7.1.330.0160.00315.43
7.1.320.0180.00015.23
7.1.310.0100.01015.48
7.1.300.0180.00015.52
7.1.290.0160.00315.34
7.1.280.0230.00115.48
7.1.270.0120.00815.49
7.1.260.0220.00415.48
7.1.250.0170.00315.41
7.1.240.0180.00015.34
7.1.230.0160.00415.39
7.1.220.0190.00015.33
7.1.210.0150.00415.47
7.1.200.0160.00415.48
7.1.190.0160.00315.38
7.1.180.0090.00915.39
7.1.170.0230.00015.41
7.1.160.0100.01015.42
7.1.150.0160.00415.28
7.1.140.0160.00515.34
7.1.130.0170.00315.38
7.1.120.0160.00315.34
7.1.110.0190.00015.44
7.1.100.0130.00615.18
7.1.90.0150.00415.34
7.1.80.0110.00815.57
7.1.70.0190.00015.12
7.1.60.0160.00615.47
7.1.50.0120.00815.35
7.1.40.0220.00615.55
7.1.30.0140.00715.59
7.1.20.0150.00515.45
7.1.10.0120.00815.33
7.1.00.0200.00015.38
7.0.330.0120.00815.14
7.0.320.0160.00315.13
7.0.310.0090.01215.02
7.0.300.0210.00015.04
7.0.290.0150.00415.16
7.0.280.0120.00715.10
7.0.270.0160.00315.07
7.0.260.0150.00315.15
7.0.250.0170.00315.22
7.0.240.0150.00315.30
7.0.230.0150.00415.21
7.0.220.0160.00315.23
7.0.210.0130.00515.20
7.0.200.0150.00415.02
7.0.190.0130.00715.00
7.0.180.0140.00415.00
7.0.170.0100.01015.34
7.0.160.0190.00216.97
7.0.150.0160.00416.99
7.0.140.0230.00016.77
7.0.130.0250.00616.95
7.0.120.0150.00416.91
7.0.110.0110.00817.06
7.0.100.0150.00416.98
7.0.90.0160.00316.73
7.0.80.0090.00916.93
7.0.70.0160.00216.68
7.0.60.0100.01016.84
7.0.50.0200.00016.98
7.0.40.0110.00816.95
7.0.30.0130.00616.77
7.0.20.0140.00616.88
7.0.10.0170.00317.04
7.0.00.0200.00016.88
5.6.400.0110.00715.49
5.6.390.0130.00715.45
5.6.380.0180.00315.45
5.6.370.0150.00415.67
5.6.360.0160.00315.57
5.6.350.0140.00515.64
5.6.340.0150.00415.63
5.6.330.0130.00415.66
5.6.320.0120.00615.52
5.6.310.0140.00415.65
5.6.300.0070.01015.61
5.6.290.0100.00715.48
5.6.280.0070.01115.59
5.6.270.0100.00815.55
5.6.260.0160.00215.57
5.6.250.0110.00715.68
5.6.240.0120.00615.70
5.6.230.0090.00915.79
5.6.220.0120.00615.51
5.6.210.0130.00615.64
5.6.200.0170.00015.73
5.6.190.0160.00315.68
5.6.180.0150.00315.67
5.6.170.0100.01015.71
5.6.160.0190.00015.81
5.6.150.0180.00015.70
5.6.140.0190.00015.78
5.6.130.0190.00015.66
5.6.120.0190.00015.68
5.6.110.0110.00715.60
5.6.100.0050.01215.73
5.6.90.0150.00415.42
5.6.80.0130.00315.55
5.6.70.0090.00915.72
5.6.60.0110.00715.73
5.6.50.0120.00415.46
5.6.40.0090.00715.42
5.6.30.0120.00415.57
5.6.20.0120.00415.54
5.6.10.0200.00015.38
5.6.00.0140.00315.59
5.5.380.0070.01015.75
5.5.370.0180.00015.81
5.5.360.0170.00015.39
5.5.350.0140.00315.51
5.5.340.0090.00915.34
5.5.330.0140.00215.62
5.5.320.0130.00415.37
5.5.310.0130.00515.64
5.5.300.0110.00715.30
5.5.290.0150.00315.43
5.5.280.0150.00515.64
5.5.270.0140.00515.30
5.5.260.0130.00415.59
5.5.250.0140.00315.56
5.5.240.0110.00815.77
5.5.230.0190.00015.74
5.5.220.0170.00015.51
5.5.210.0180.00015.46
5.5.200.0160.00315.46
5.5.190.0110.00715.58
5.5.180.0140.00515.50
5.5.170.0140.00315.58
5.5.160.0140.00415.27
5.5.150.0090.00915.37
5.5.140.0160.00015.25
5.5.130.0110.00615.33
5.5.120.0100.00815.27
5.5.110.0150.00415.29
5.5.100.0140.00315.57
5.5.90.0140.00415.53
5.5.80.0190.00015.66
5.5.70.0190.00015.47
5.5.60.0130.00615.57
5.5.50.0130.00315.78
5.5.40.0140.00315.42
5.5.30.0120.00615.61
5.5.20.0100.00715.54
5.5.10.0180.00015.61
5.5.00.0140.00315.30
5.4.450.0090.00612.48
5.4.440.0040.01112.32
5.4.430.0150.00012.28
5.4.420.0120.00412.46
5.4.410.0120.00012.57
5.4.400.0140.00012.43
5.4.390.0070.00712.28
5.4.380.0080.00612.43
5.4.370.0090.00612.20
5.4.360.0110.00412.46
5.4.350.0080.00512.41
5.4.340.0100.00512.23
5.4.330.0100.00312.43
5.4.320.0100.00512.46
5.4.310.0080.00812.33
5.4.300.0100.00512.50
5.4.290.0090.00412.47
5.4.280.0090.00612.49
5.4.270.0110.00412.29
5.4.260.0120.00412.27
5.4.250.0160.00012.40
5.4.240.0130.00012.22
5.4.230.0140.00012.22
5.4.220.0040.00812.23
5.4.210.0090.00412.12
5.4.200.0150.00012.31
5.4.190.0140.00012.21
5.4.180.0110.00312.29
5.4.170.0120.00312.18
5.4.160.0130.00012.02
5.4.150.0120.00312.31
5.4.140.0090.00612.12
5.4.130.0110.00312.27
5.4.120.0120.00312.57
5.4.110.0150.00012.50
5.4.100.0080.00612.40
5.4.90.0130.00012.58
5.4.80.0110.00212.27
5.4.70.0140.00012.46
5.4.60.0120.00212.24
5.4.50.0080.00812.56
5.4.40.0110.00412.16
5.4.30.0140.00012.27
5.4.20.0090.00312.46
5.4.10.0140.00012.48
5.4.00.0110.00312.44
5.3.290.0000.01412.98
5.3.280.0100.00512.72
5.3.270.0070.00712.96
5.3.260.0150.00312.78
5.3.250.0090.00612.95
5.3.240.0100.00512.82
5.3.230.0120.00312.95
5.3.220.0100.00312.96
5.3.210.0070.00712.90
5.3.200.0100.00312.96
5.3.190.0080.00812.70
5.3.180.0120.00312.86
5.3.170.0090.00612.86
5.3.160.0120.00313.12
5.3.150.0150.00012.91
5.3.140.0110.00212.97
5.3.130.0000.01512.79
5.3.120.0090.00512.77
5.3.110.0100.00313.00
5.3.100.0070.00712.69
5.3.90.0070.00712.83
5.3.80.0100.00512.62
5.3.70.0130.00012.87
5.3.60.0090.00412.74
5.3.50.0110.00412.89
5.3.40.0110.00312.91
5.3.30.0060.00612.82
5.3.20.0090.00612.97
5.3.10.0090.00612.82
5.3.00.0100.00212.60
5.2.170.0060.00612.02
5.2.160.0050.00511.82
5.2.150.0050.00511.91
5.2.140.0050.00512.02
5.2.130.0070.00511.99
5.2.120.0040.01111.95
5.2.110.0060.00611.95
5.2.100.0060.00611.95
5.2.90.0060.00611.85
5.2.80.0110.00011.83
5.2.70.0080.00411.65
5.2.60.0040.00811.83
5.2.50.0110.00011.71
5.2.40.0100.00011.75
5.2.30.0050.00511.65
5.2.20.0070.00511.77
5.2.10.0100.00011.60
5.2.00.0040.00811.60
5.1.60.0110.00011.05
5.1.50.0110.00011.00
5.1.40.0070.00310.90
5.1.30.0030.00711.00
5.1.20.0070.00310.84
5.1.10.0050.00511.11
5.1.00.0090.00011.02
5.0.50.0080.00010.26
5.0.40.0080.00010.26
5.0.30.0050.00310.26
5.0.20.0090.00010.26
5.0.10.0060.00210.26
5.0.00.0000.00710.26
4.4.90.0000.00510.26
4.4.80.0030.00210.26
4.4.70.0040.00010.26
4.4.60.0050.00010.26
4.4.50.0050.00010.26
4.4.40.0050.00010.26
4.4.30.0030.00210.26
4.4.20.0000.00510.26
4.4.10.0050.00010.26
4.4.00.0040.00010.26
4.3.110.0000.00510.26
4.3.100.0060.00010.26
4.3.90.0050.00010.26
4.3.80.0030.00210.26
4.3.70.0000.00510.26
4.3.60.0050.00010.26
4.3.50.0050.00010.26
4.3.40.0000.00510.26
4.3.30.0040.00010.26
4.3.20.0040.00010.26
4.3.10.0010.00310.26
4.3.00.0040.00010.26

preferences:
31.6 ms | 403 KiB | 5 Q