3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(?float $bar) { } foo(1.2); 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.20.0070.01319.64
8.4.10.0060.01222.59
8.3.150.0110.00717.03
8.3.140.0060.01218.40
8.3.130.0000.00916.50
8.3.120.0060.00320.75
8.3.110.0190.00016.50
8.3.100.0090.00024.06
8.3.90.0000.00826.77
8.3.80.0060.00316.50
8.3.70.0090.00618.18
8.3.60.0150.00018.56
8.3.50.0110.00623.69
8.3.40.0150.00018.53
8.3.30.0120.00318.59
8.3.20.0000.00724.18
8.3.10.0070.00024.66
8.3.00.0030.00626.16
8.2.270.0070.01117.04
8.2.260.0080.01118.36
8.2.250.0030.00618.41
8.2.240.0030.00617.08
8.2.230.0040.00420.94
8.2.220.0030.00737.54
8.2.210.0050.00926.77
8.2.200.0040.00716.25
8.2.190.0120.00316.58
8.2.180.0070.00725.92
8.2.170.0100.00718.89
8.2.160.0000.01422.96
8.2.150.0040.00425.66
8.2.140.0030.00524.66
8.2.130.0050.00226.16
8.2.120.0030.00620.61
8.2.110.0030.00720.22
8.2.100.0100.00317.66
8.2.90.0080.00020.61
8.2.80.0040.00417.97
8.2.70.0000.00817.93
8.2.60.0050.00317.78
8.2.50.0000.00818.10
8.2.40.0050.00321.05
8.2.30.0000.00719.00
8.2.20.0000.00717.91
8.2.10.0030.00619.04
8.2.00.0000.00719.07
8.1.310.0090.00616.55
8.1.300.0040.01118.04
8.1.290.0090.00018.88
8.1.280.0060.00825.92
8.1.270.0040.00424.01
8.1.260.0030.00526.35
8.1.250.0000.00728.09
8.1.240.0100.00023.73
8.1.230.0040.00720.90
8.1.220.0080.00017.74
8.1.210.0000.00819.08
8.1.200.0060.00316.97
8.1.190.0030.00617.10
8.1.180.0050.00318.10
8.1.170.0000.00818.48
8.1.160.0030.00718.92
8.1.150.0000.00718.75
8.1.140.0000.00818.69
8.1.130.0050.00217.30
8.1.120.0020.00517.32
8.1.110.0040.00417.22
8.1.100.0040.00417.35
8.1.90.0070.00517.36
8.1.80.0090.00317.22
8.1.70.0070.00417.23
8.1.60.0100.00317.47
8.1.50.0120.00017.41
8.1.40.0090.00417.43
8.1.30.0090.00417.62
8.1.20.0070.00517.57
8.1.10.0090.00417.33
8.1.00.0060.00617.31
8.0.300.0030.00319.77
8.0.290.0030.00616.63
8.0.280.0070.00018.32
8.0.270.0030.00316.60
8.0.260.0060.00016.67
8.0.250.0000.00716.75
8.0.240.0050.00216.74
8.0.230.0070.00316.79
8.0.220.0040.00716.74
8.0.210.0090.00216.72
8.0.200.0090.00316.82
8.0.190.0060.00616.77
8.0.180.0060.00416.74
8.0.170.0050.00516.72
8.0.160.0020.00816.73
8.0.150.0020.00816.62
8.0.140.0070.00416.66
8.0.130.0050.00514.92
8.0.120.0060.00516.68
8.0.110.0090.00216.72
8.0.100.0090.00216.59
8.0.90.0050.00616.72
8.0.80.0070.00616.69
8.0.70.0020.00716.68
8.0.60.0070.00416.69
8.0.50.0060.00616.74
8.0.30.0120.00416.86
8.0.20.0190.02216.86
8.0.10.0060.00616.74
8.0.00.0070.00616.71
7.4.330.0040.00015.55
7.4.320.0000.00616.41
7.4.300.0070.00516.40
7.4.290.0070.00516.52
7.4.280.0090.00516.41
7.4.270.0110.00116.49
7.4.260.0080.00314.80
7.4.250.0080.00316.45
7.4.240.0070.00316.43
7.4.230.0050.00516.40
7.4.220.0060.00216.42
7.4.210.0070.00916.50
7.4.200.0070.00316.43
7.4.190.0070.00716.38
7.4.180.0090.00516.33
7.4.160.0000.00816.42
7.4.150.0050.00516.45
7.4.140.0000.00616.25
7.4.130.0070.00816.33
7.4.120.0060.00816.31
7.4.110.0060.01016.34
7.4.100.0080.00516.46
7.4.90.0060.00616.28
7.4.80.0070.00516.13
7.4.70.0090.00516.15
7.4.60.0050.00916.36
7.4.50.0070.00516.44
7.4.40.0030.00816.13
7.4.30.0110.00216.17
7.4.20.0050.00916.24
7.4.10.0120.00216.37
7.4.00.0070.00716.25
7.3.330.0090.00216.16
7.3.320.0090.00114.63
7.3.310.0040.00616.21
7.3.300.0070.00316.15
7.3.290.0060.00916.25
7.3.280.0090.00616.15
7.3.270.0050.01016.27
7.3.260.0100.01016.20
7.3.250.0050.00916.26
7.3.240.0110.00316.19
7.3.230.0030.01216.22
7.3.220.0110.00416.13
7.3.210.0100.00516.08
7.3.200.0130.00516.18
7.3.190.0120.00516.30
7.3.180.0120.00316.08
7.3.170.0110.00416.31
7.3.160.0100.00516.18
7.3.150.0100.00616.31
7.3.140.0090.00716.29
7.3.130.0120.00416.12
7.3.120.0110.00416.20
7.3.110.0120.00516.17
7.3.100.0110.00516.22
7.3.90.0050.01016.43
7.3.80.0130.00416.13
7.3.70.0090.00516.26
7.3.60.0060.00916.33
7.3.50.0140.00416.32
7.3.40.0110.00316.35
7.3.30.0120.00316.33
7.3.20.0120.00417.26
7.3.10.0090.00817.20
7.3.00.0140.00317.21
7.2.340.0090.00416.21
7.2.330.0060.00916.17
7.2.320.0100.00816.30
7.2.310.0060.00916.13
7.2.300.0080.00816.28
7.2.290.0120.00416.10
7.2.280.0090.00716.34
7.2.270.0080.00716.29
7.2.260.0050.01116.11
7.2.250.0140.00216.19
7.2.240.0110.00616.40
7.2.230.0110.00416.18
7.2.220.0100.00816.35
7.2.210.0100.00616.23
7.2.200.0130.00416.42
7.2.190.0110.00716.33
7.2.180.0120.00416.32
7.2.170.0060.01116.31
7.2.160.0060.00916.41
7.2.150.0100.00717.28
7.2.140.0060.00917.33
7.2.130.0050.01117.32
7.2.120.0110.00417.44
7.2.110.0080.00717.30
7.2.100.0140.00417.33
7.2.90.0130.00417.40
7.2.80.0120.00417.17
7.2.70.0070.00917.20
7.2.60.0140.00117.30
7.2.50.0090.00617.32
7.2.40.0080.00817.25
7.2.30.0060.01017.27
7.2.20.0040.01217.45
7.2.10.0100.00717.30
7.2.00.0140.00317.46
7.1.330.0050.01017.20
7.1.320.0110.00317.07
7.1.310.0110.00217.12
7.1.300.0090.00517.22
7.1.290.0160.00017.16
7.1.280.0110.00317.14
7.1.270.0000.01417.36
7.1.260.0130.00017.19
7.1.250.0080.00817.17
7.1.240.0140.00017.10
7.1.230.0070.00717.18
7.1.220.0070.00817.04
7.1.210.0120.00317.23
7.1.200.0100.00517.23
7.1.190.0140.00017.07
7.1.180.0050.00917.10
7.1.170.0070.00717.20
7.1.160.0110.00417.16
7.1.150.0120.00417.17
7.1.140.0100.00417.08
7.1.130.0100.00517.09
7.1.120.0070.00717.08
7.1.110.0090.00517.12
7.1.100.0110.00317.01
7.1.90.0110.00317.22
7.1.80.0130.00017.19
7.1.70.0100.00316.87
7.1.60.0090.00617.05
7.1.50.0140.00017.07
7.1.40.0100.00317.09
7.1.30.0070.00717.18
7.1.20.0120.00216.95
7.1.10.0060.00917.08
7.1.00.0050.01017.13
7.0.330.0070.00716.90
7.0.320.0110.00316.77
7.0.310.0110.00316.57
7.0.300.0130.00016.57
7.0.290.0110.00316.68
7.0.280.0040.00916.81
7.0.270.0070.00716.82
7.0.260.0130.00016.82
7.0.250.0070.00717.04
7.0.240.0060.00616.73
7.0.230.0060.00616.94
7.0.220.0100.00316.86
7.0.210.0100.00316.91
7.0.200.0110.00216.71
7.0.190.0080.00516.75
7.0.180.0130.00016.89
7.0.170.0060.00616.80
7.0.160.0080.00516.85
7.0.150.0100.00516.84
7.0.140.0120.00216.68
7.0.130.0090.00416.91
7.0.120.0050.01016.82
7.0.110.0060.00616.90
7.0.100.0130.00016.81
7.0.90.0100.00316.80
7.0.80.0130.00016.81
7.0.70.0100.00316.77
7.0.60.0110.00216.62
7.0.50.0110.00316.59
7.0.40.0080.00616.75
7.0.30.0050.00916.66
7.0.20.0090.00516.77
7.0.10.0090.00516.80
7.0.00.0120.00316.74
5.6.400.0080.00815.68
5.6.390.0080.00815.61
5.6.380.0110.00415.49
5.6.370.0080.00715.45
5.6.360.0110.00515.61
5.6.350.0140.00015.70
5.6.340.0090.00615.63
5.6.330.0110.00315.48
5.6.320.0050.01015.78
5.6.310.0100.00315.67
5.6.300.0090.00415.37
5.6.290.0130.00315.48
5.6.280.0120.00315.47
5.6.270.0120.00415.63
5.6.260.0150.00015.54
5.6.250.0160.00015.52
5.6.240.0120.00315.64
5.6.230.0040.00915.60
5.6.220.0160.00015.65
5.6.210.0070.00715.52
5.6.200.0120.00315.64
5.6.190.0120.00415.58
5.6.180.0080.00715.74
5.6.170.0090.00515.79
5.6.160.0110.00415.71
5.6.150.0050.01015.78
5.6.140.0060.01015.49
5.6.130.0100.00515.63
5.6.120.0120.00315.68
5.6.110.0110.00415.64
5.6.100.0050.01115.45
5.6.90.0140.00315.66
5.6.80.0050.01015.52
5.6.70.0120.00315.74
5.6.60.0090.00515.41
5.6.50.0100.00415.46
5.6.40.0070.00815.45
5.6.30.0120.00215.52
5.6.20.0140.00015.44
5.6.10.0130.00315.44
5.6.00.0070.00715.58
5.5.380.0100.00315.68
5.5.370.0040.01215.77
5.5.360.0160.00015.29
5.5.350.0100.00515.43
5.5.340.0130.00015.65
5.5.330.0110.00315.31
5.5.320.0090.00615.59
5.5.310.0090.00515.56
5.5.300.0100.00615.29
5.5.290.0130.00215.34
5.5.280.0110.00415.54
5.5.270.0120.00315.61
5.5.260.0080.00515.32
5.5.250.0070.00715.45
5.5.240.0090.00415.36
5.5.230.0090.00515.42
5.5.220.0100.00315.59
5.5.210.0090.00315.70
5.5.200.0020.01015.54
5.5.190.0130.00015.36
5.5.180.0080.00515.39
5.5.170.0080.00515.27
5.5.160.0130.00015.54
5.5.150.0090.00415.30
5.5.140.0090.00415.23
5.5.130.0130.00015.33
5.5.120.0090.00615.27
5.5.110.0130.00015.25
5.5.100.0080.00415.62
5.5.90.0140.00015.67
5.5.80.0080.00415.54
5.5.70.0090.00415.61
5.5.60.0040.00915.60
5.5.50.0060.00615.54
5.5.40.0120.00015.54
5.5.30.0000.01215.46
5.5.20.0090.00315.64
5.5.10.0000.01215.28
5.5.00.0080.00415.61
5.4.450.0050.00512.48
5.4.440.0100.00012.43
5.4.430.0090.00212.43
5.4.420.0080.00312.29
5.4.410.0100.00012.58
5.4.400.0060.00612.52
5.4.390.0100.00012.37
5.4.380.0110.00012.37
5.4.370.0110.00012.52
5.4.360.0100.00012.38
5.4.350.0070.00412.37
5.4.340.0070.00312.38
5.4.330.0050.00512.43
5.4.320.0100.00012.20
5.4.310.0100.00012.43
5.4.300.0070.00312.58
5.4.290.0110.00012.26
5.4.280.0110.00012.27
5.4.270.0100.00012.43
5.4.260.0000.01012.22
5.4.250.0110.00012.47
5.4.240.0050.00512.29
5.4.230.0060.00412.02
5.4.220.0110.00012.32
5.4.210.0070.00412.15
5.4.200.0080.00312.00
5.4.190.0070.00412.00
5.4.180.0050.00511.98
5.4.170.0050.00512.24
5.4.160.0110.00012.21
5.4.150.0130.00012.10
5.4.140.0070.00212.36
5.4.130.0060.00412.36
5.4.120.0090.00012.43
5.4.110.0070.00412.50
5.4.100.0090.00312.40
5.4.90.0070.00312.50
5.4.80.0050.00512.48
5.4.70.0070.00312.32
5.4.60.0090.00212.56
5.4.50.0100.00012.50
5.4.40.0100.00012.21
5.4.30.0100.00012.45
5.4.20.0100.00012.49
5.4.10.0100.00012.38
5.4.00.0070.00412.06
5.3.290.0080.00312.69
5.3.280.0070.00312.53
5.3.270.0050.00512.65
5.3.260.0090.00312.62
5.3.250.0070.00412.61
5.3.240.0070.00312.50
5.3.230.0110.00012.84
5.3.220.0030.00712.56
5.3.210.0080.00312.61
5.3.200.0050.00512.59
5.3.190.0040.00712.57
5.3.180.0050.00512.95
5.3.170.0110.00012.75
5.3.160.0070.00412.79
5.3.150.0070.00412.72
5.3.140.0060.00612.90
5.3.130.0070.00412.65
5.3.120.0040.00712.68
5.3.110.0100.00312.67
5.3.100.0060.00512.94
5.3.90.0000.00912.86
5.3.80.0100.00012.60
5.3.70.0070.00312.83
5.3.60.0000.01012.87
5.3.50.0000.01112.84
5.3.40.0110.00012.63
5.3.30.0050.00512.85
5.3.20.0080.00312.57
5.3.10.0070.00312.39
5.3.00.0100.00012.39
5.2.170.0040.00411.68
5.2.160.0090.00011.68
5.2.150.0000.00811.63
5.2.140.0060.00311.55
5.2.130.0090.00011.63
5.2.120.0030.00611.88
5.2.110.0000.00811.63
5.2.100.0050.00511.83
5.2.90.0060.00211.85
5.2.80.0090.00011.68
5.2.70.0070.00211.57
5.2.60.0000.00911.48
5.2.50.0050.00511.62
5.2.40.0070.00211.86
5.2.30.0000.00811.55
5.2.20.0050.00311.63
5.2.10.0070.00211.54
5.2.00.0060.00311.51
5.1.60.0080.00010.87
5.1.50.0050.00210.64
5.1.40.0050.00210.95
5.1.30.0080.00010.82
5.1.20.0040.00410.90
5.1.10.0070.00010.92
5.1.00.0000.00710.80
5.0.50.0030.00310.17
5.0.40.0070.0009.92
5.0.30.0000.0069.72
5.0.20.0070.0009.68
5.0.10.0040.0029.84
5.0.00.0040.0029.60
4.4.90.0030.0009.60
4.4.80.0040.0009.60
4.4.70.0030.0009.60
4.4.60.0000.0039.60
4.4.50.0030.0009.60
4.4.40.0040.0009.60
4.4.30.0040.0009.60
4.4.20.0000.0049.60
4.4.10.0000.0039.60
4.4.00.0000.0039.60
4.3.110.0000.0039.60
4.3.100.0030.0009.60
4.3.90.0040.0009.60
4.3.80.0040.0009.60
4.3.70.0040.0009.60
4.3.60.0040.0009.60
4.3.50.0040.0009.60
4.3.40.0020.0029.60
4.3.30.0000.0039.60
4.3.20.0000.0049.60
4.3.10.0020.0029.60
4.3.00.0030.0009.60

preferences:
73.82 ms | 403 KiB | 5 Q