3v4l.org

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

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.0120.01219.45
8.4.10.0040.01117.53
8.3.150.0120.00617.00
8.3.140.0110.00719.18
8.3.130.0040.00416.84
8.3.120.0060.00320.59
8.3.110.0040.00420.94
8.3.100.0090.00918.53
8.3.90.0110.00726.77
8.3.80.0030.00619.36
8.3.70.0150.00618.18
8.3.60.0070.00716.74
8.3.50.0080.01018.15
8.3.40.0090.00618.38
8.3.30.0040.01118.46
8.3.20.0070.00021.71
8.3.10.0080.00021.95
8.3.00.0030.00519.44
8.2.270.0120.00316.53
8.2.260.0070.00716.36
8.2.250.0070.00016.53
8.2.240.0050.00318.84
8.2.230.0060.00322.58
8.2.220.0140.00724.06
8.2.210.0050.00226.77
8.2.200.0000.00918.88
8.2.190.0040.01216.63
8.2.180.0120.00318.54
8.2.170.0070.00718.66
8.2.160.0070.01322.96
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00820.25
8.2.110.0060.00321.03
8.2.100.0080.00417.72
8.2.90.0040.00417.78
8.2.80.0000.00817.97
8.2.70.0050.00317.80
8.2.60.0040.00417.80
8.2.50.0100.00318.81
8.2.40.0070.00519.99
8.2.30.0120.00019.35
8.2.20.0120.00018.68
8.2.10.0080.00518.75
8.2.00.0060.00618.72
8.1.310.0140.00416.05
8.1.300.0040.01420.00
8.1.290.0070.00430.84
8.1.280.0150.00625.92
8.1.270.0060.00323.58
8.1.260.0020.00526.35
8.1.250.0070.00028.09
8.1.240.0060.00323.79
8.1.230.0100.00020.88
8.1.220.0040.00417.74
8.1.210.0040.00419.16
8.1.200.0060.00317.10
8.1.190.0060.00317.23
8.1.180.0060.00518.81
8.1.170.0010.01119.17
8.1.160.0090.00219.14
8.1.150.0100.00219.20
8.1.140.0080.00318.53
8.1.130.0090.00418.44
8.1.120.0060.00618.44
8.1.110.0070.00618.43
8.1.100.0110.00218.45
8.1.90.0090.00418.41
8.1.80.0110.00218.42
8.1.70.0100.00418.42
8.1.60.0040.00918.52
8.1.50.0090.00418.43
8.1.40.0060.00818.50
8.1.30.0050.00718.51
8.1.20.0090.00418.55
8.1.10.0090.00418.42
8.1.00.0060.00718.41
8.0.300.0060.00319.65
8.0.290.0090.00016.75
8.0.280.0060.00618.88
8.0.270.0060.00718.13
8.0.260.0050.00718.04
8.0.250.0040.00918.19
8.0.240.0070.00418.16
8.0.230.0100.00118.15
8.0.220.0080.00318.13
8.0.210.0060.00518.16
8.0.200.0060.00518.10
8.0.190.0070.00718.10
8.0.180.0060.00518.14
8.0.170.0080.00518.09
8.0.160.0080.00318.12
8.0.150.0070.00518.15
8.0.140.0050.00718.12
8.0.130.0030.00716.35
8.0.120.0100.00318.13
8.0.110.0070.00518.16
8.0.100.0070.00418.11
8.0.90.0120.00018.18
8.0.80.0060.00918.11
8.0.70.0100.00218.16
8.0.60.0060.00618.15
8.0.50.0100.00118.20
8.0.30.0100.00917.63
8.0.20.0130.00518.46
8.0.10.0090.00818.34
8.0.00.0150.00417.17
7.4.330.0060.00317.53
7.4.320.0090.00218.00
7.4.300.0040.00718.02
7.4.290.0070.00618.00
7.4.280.0070.00518.04
7.4.270.0060.00517.96
7.4.260.0070.00517.97
7.4.250.0090.00317.92
7.4.240.0050.00617.98
7.4.230.0060.00617.91
7.4.220.0120.00018.06
7.4.210.0090.00717.53
7.4.200.0100.00218.03
7.4.190.0070.00719.52
7.4.180.0130.00319.52
7.4.160.0110.00319.52
7.4.150.0080.00819.52
7.4.140.0090.01117.87
7.4.130.0130.00817.16
7.4.120.0110.00916.71
7.4.110.0120.00716.88
7.4.100.0110.00816.72
7.4.90.0100.00916.53
7.4.80.0110.00916.77
7.4.70.0100.01016.50
7.4.60.0120.00716.56
7.4.50.0110.00816.49
7.4.40.0090.00916.54
7.4.30.0120.00816.56
7.4.20.0110.00916.56
7.4.10.0130.00716.54
7.4.00.0090.00916.38
7.3.330.0090.00116.32
7.3.320.0080.00216.31
7.3.310.0040.00717.89
7.3.300.0060.00617.88
7.3.290.0070.00517.81
7.3.280.0100.00717.08
7.3.270.0150.00019.52
7.3.260.0110.00617.03
7.3.250.0150.00717.06
7.3.240.0120.00816.77
7.3.230.0090.00816.98
7.3.220.0120.00716.68
7.3.210.0100.00916.47
7.3.200.0100.01016.53
7.3.190.0090.01016.51
7.3.180.0110.00816.44
7.3.170.0080.01016.55
7.3.160.0120.00716.55
7.3.150.0140.00716.52
7.3.140.0100.01116.54
7.3.130.0130.00916.56
7.3.120.0130.00816.35
7.3.110.0110.00916.36
7.3.100.0140.00616.29
7.3.90.0110.00816.27
7.3.80.0110.00916.25
7.3.70.0100.00916.17
7.3.60.0120.00816.15
7.3.50.0100.00816.13
7.3.40.0110.00616.14
7.3.30.0110.00816.13
7.3.20.0120.00816.43
7.3.10.0120.00716.48
7.3.00.0100.01016.50
7.2.340.0160.00617.11
7.2.330.0150.01016.61
7.2.320.0140.00816.63
7.2.310.0100.01016.55
7.2.300.0110.01116.63
7.2.290.0120.00916.65
7.2.280.0110.01016.57
7.2.270.0110.00916.62
7.2.260.0130.00916.58
7.2.250.0120.01016.50
7.2.240.0120.00916.44
7.2.230.0130.00816.28
7.2.220.0120.00916.37
7.2.210.0110.00916.27
7.2.200.0110.01016.24
7.2.190.0110.00916.23
7.2.180.0100.01016.24
7.2.170.0110.00816.24
7.2.160.0130.00816.34
7.2.150.0130.00816.63
7.2.140.0120.00916.59
7.2.130.0140.00816.61
7.2.120.0120.01016.61
7.2.110.0140.01116.65
7.2.100.0170.00816.63
7.2.90.0140.00916.60
7.2.80.0140.00916.62
7.2.70.0160.00916.60
7.2.60.0120.00916.65
7.2.50.0120.00816.55
7.2.40.0220.00916.76
7.2.30.0240.01016.81
7.2.20.0190.00816.80
7.2.10.0210.01016.75
7.2.00.0200.01116.79
7.1.330.0180.00915.65
7.1.320.0200.00715.51
7.1.310.0160.00815.52
7.1.300.0180.00715.53
7.1.290.0160.00815.57
7.1.280.0160.00915.54
7.1.270.0170.00715.53
7.1.260.0190.00715.63
7.1.250.0190.00615.66
7.1.240.0190.00615.57
7.1.230.0160.00815.58
7.1.220.0200.00815.57
7.1.210.0200.00915.57
7.1.200.0170.00715.59
7.1.190.0190.00915.51
7.1.180.0170.00915.57
7.1.170.0180.00815.60
7.1.160.0320.00815.75
7.1.150.0330.00815.74
7.1.140.0320.00815.72
7.1.130.0290.00915.61
7.1.120.0270.00815.70
7.1.110.0200.00915.68
7.1.100.0290.00815.64
7.1.90.0190.00915.57
7.1.80.0200.00915.65
7.1.70.0200.00815.56
7.1.60.0230.01017.57
7.1.50.0390.00817.51
7.1.40.0200.00817.51
7.1.30.0200.00817.52
7.1.20.0190.00817.53
7.1.10.0230.00715.53
7.1.00.0260.00915.46
7.0.330.0180.00815.33
7.0.320.0180.00815.49
7.0.310.0220.00815.47
7.0.300.0150.01015.54
7.0.290.0210.00715.55
7.0.280.0170.01015.52
7.0.270.0180.00715.50
7.0.260.0210.00815.53
7.0.250.0170.00915.59
7.0.240.0180.00715.60
7.0.230.0190.00715.54
7.0.220.0160.00915.54
7.0.210.0180.00715.56
7.0.200.0210.00715.54
7.0.190.0220.00615.56
7.0.180.0180.00615.54
7.0.170.0180.00815.61
7.0.160.0180.00815.57
7.0.150.0170.00815.54
7.0.140.0200.00715.58
7.0.130.0180.00715.59
7.0.120.0190.00815.58
7.0.110.0160.00915.50
7.0.100.0160.00915.52
7.0.90.0200.00915.55
7.0.80.0180.00915.55
7.0.70.0190.00715.55
7.0.60.0180.00815.54
7.0.50.0200.01015.50
7.0.40.0180.00715.51
7.0.30.0170.00815.46
7.0.20.0210.00715.46
7.0.10.0180.00915.50
7.0.00.0170.00815.50
5.6.400.0170.01015.72
5.6.390.0160.00915.74
5.6.380.0180.01015.76
5.6.370.0170.01215.95
5.6.360.0180.00815.94
5.6.350.0160.01116.00
5.6.340.0190.00816.00
5.6.330.0160.01115.97
5.6.320.0170.01015.90
5.6.310.0170.01015.93
5.6.300.0180.01016.00
5.6.290.0170.01115.99
5.6.280.0180.00915.91
5.6.270.0180.00915.95
5.6.260.0170.01015.95
5.6.250.0180.00915.98
5.6.240.0180.01015.94
5.6.230.0200.00715.92
5.6.220.0190.00715.88
5.6.210.0160.01015.94
5.6.200.0170.01015.96
5.6.190.0160.01015.98
5.6.180.0160.01215.91
5.6.170.0180.00915.97
5.6.160.0170.01115.92
5.6.150.0170.01015.99
5.6.140.0190.00915.86
5.6.130.0160.01015.89
5.6.120.0160.01015.95
5.6.110.0160.01115.92
5.6.100.0170.01115.88
5.6.90.0180.00915.92
5.6.80.0170.00915.83
5.6.70.0160.01115.87
5.6.60.0160.01115.88
5.6.50.0180.01015.86
5.6.40.0180.00715.82
5.6.30.0150.01115.88
5.6.20.0160.01015.81
5.6.10.0160.01015.85
5.6.00.0160.01015.89

preferences:
50.48 ms | 403 KiB | 5 Q