3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(float $bar = null) { } 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.3.140.0100.00716.32
8.3.130.0040.00418.44
8.3.120.0110.00420.86
8.3.110.0130.00320.94
8.3.100.0130.00316.65
8.3.90.0080.00026.77
8.3.80.0070.00316.55
8.3.70.0180.00016.58
8.3.60.0090.01316.50
8.3.50.0090.00818.32
8.3.40.0070.00718.59
8.3.30.0110.00318.63
8.3.20.0140.00321.74
8.3.10.0050.00221.77
8.3.00.0080.00019.67
8.2.250.0060.00316.67
8.2.240.0070.01117.16
8.2.230.0030.00622.58
8.2.220.0030.01537.54
8.2.210.0080.00026.77
8.2.200.0060.00316.38
8.2.190.0140.00716.63
8.2.180.0110.00418.18
8.2.170.0040.01118.71
8.2.160.0080.00622.96
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0070.00020.98
8.2.120.0080.00026.35
8.2.110.0000.00920.99
8.2.100.0120.00017.53
8.2.90.0000.00817.72
8.2.80.0000.00819.11
8.2.70.0040.00417.68
8.2.60.0060.00317.68
8.2.50.0040.00418.10
8.2.40.0120.00518.69
8.2.30.0000.00719.27
8.2.20.0070.00318.01
8.2.10.0030.00617.98
8.2.00.0040.00418.02
8.1.300.0090.00619.24
8.1.290.0090.00030.84
8.1.280.0070.01025.92
8.1.270.0000.00923.96
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00322.42
8.1.230.0040.00720.99
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0040.00417.00
8.1.190.0000.00917.10
8.1.180.0040.00418.10
8.1.170.0040.00418.73
8.1.160.0040.00418.80
8.1.150.0000.00718.95
8.1.140.0000.00717.56
8.1.130.0030.00318.86
8.1.120.0000.00717.25
8.1.110.0030.00617.29
8.1.100.0040.00417.32
8.1.90.0000.00817.31
8.1.80.0080.00017.21
8.1.70.0040.00417.21
8.1.60.0040.00417.53
8.1.50.0070.00417.48
8.1.40.0040.00417.41
8.1.30.0000.00717.61
8.1.20.0000.00817.45
8.1.10.0030.00617.37
8.1.00.0040.00417.32
8.0.300.0030.00519.81
8.0.290.0030.00616.58
8.0.280.0000.00718.18
8.0.270.0030.00316.60
8.0.260.0030.00317.13
8.0.250.0030.00316.77
8.0.240.0000.00716.80
8.0.230.0070.00016.84
8.0.220.0040.00416.72
8.0.210.0000.00816.72
8.0.200.0000.00616.80
8.0.190.0000.00716.83
8.0.180.0000.00716.67
8.0.170.0070.00316.79
8.0.160.0040.00416.75
8.0.150.0070.00016.73
8.0.140.0000.00816.71
8.0.130.0040.00413.14
8.0.120.0070.00016.61
8.0.110.0030.00316.58
8.0.100.0000.00816.65
8.0.90.0020.00516.79
8.0.80.0040.01216.71
8.0.70.0050.00216.79
8.0.60.0050.00216.78
8.0.50.0070.00016.80
8.0.30.0100.00616.87
8.0.20.0120.00617.40
8.0.10.0080.00016.92
8.0.00.0110.01016.66
7.4.330.0040.00015.55
7.4.320.0030.00316.46
7.4.300.0030.00316.52
7.4.290.0070.00416.49
7.4.280.0040.00416.57
7.4.270.0040.00416.54
7.4.260.0000.00716.46
7.4.250.0060.00316.50
7.4.240.0000.00716.33
7.4.230.0000.00816.33
7.4.220.0040.00416.44
7.4.210.0070.00816.50
7.4.200.0000.00716.62
7.4.160.0080.01016.42
7.4.140.0170.00517.86
7.4.130.0030.01516.30
7.4.120.0060.01216.41
7.4.110.0150.00616.55
7.4.100.0130.00816.57
7.4.90.0030.01316.49
7.4.80.0120.00319.39
7.4.70.0140.00716.34
7.4.60.0070.01016.26
7.4.50.0100.00316.29
7.4.40.0120.00616.15
7.4.30.0110.00616.37
7.4.20.0090.00816.30
7.4.10.0070.01116.35
7.4.00.0110.00715.98
7.3.330.0050.00013.32
7.3.320.0030.00313.02
7.3.310.0000.00716.24
7.3.300.0000.00616.27
7.3.290.0040.00416.08
7.3.280.0140.00516.24
7.3.260.0110.00716.34
7.3.240.0120.00516.38
7.3.230.0110.00616.34
7.3.210.0130.00316.44
7.3.200.0130.00316.23
7.3.190.0160.00016.22
7.3.180.0040.01116.23
7.3.170.0070.01016.43
7.3.160.0090.00916.19
7.3.150.0140.00316.22
7.3.140.0080.01016.35
7.3.130.0080.01016.36
7.3.120.0090.00916.29
7.3.110.0070.01216.24
7.3.100.0070.01116.21
7.3.90.0070.01016.22
7.3.80.0090.00515.78
7.3.70.0080.00815.27
7.3.60.0060.00815.24
7.3.50.0080.00915.19
7.3.40.0060.00915.16
7.3.30.0100.00815.12
7.3.20.0130.00615.90
7.3.10.0160.00615.91
7.3.00.0130.00915.90
7.2.330.0090.00916.58
7.2.320.0110.00816.30
7.2.310.0120.00416.37
7.2.300.0030.01916.32
7.2.290.0080.01016.20
7.2.280.0070.01016.32
7.2.270.0070.01016.26
7.2.260.0110.00716.38
7.2.250.0080.01016.33
7.2.240.0100.00716.30
7.2.230.0040.01316.41
7.2.220.0070.01016.37
7.2.210.0090.00915.82
7.2.200.0080.00915.47
7.2.190.0080.01015.25
7.2.180.0070.00915.30
7.2.170.0080.00915.23
7.2.160.0080.00815.28
7.2.150.0240.00816.02
7.2.140.0200.00616.03
7.2.130.0150.01015.98
7.2.120.0150.00816.07
7.2.110.0140.00716.03
7.2.100.0140.00816.01
7.2.90.0110.00916.06
7.2.80.0150.00915.96
7.2.70.0120.00916.09
7.2.60.0120.00916.08
7.2.50.0140.00716.02
7.2.40.0210.00916.24
7.2.30.0210.00816.21
7.2.20.0140.00916.03
7.2.10.0210.00916.23
7.2.00.0200.00816.29
7.1.330.0180.00515.32
7.1.320.0120.01015.52
7.1.310.0150.00714.96
7.1.300.0120.00815.10
7.1.290.0110.00615.09
7.1.280.0090.01015.08
7.1.270.0080.00915.16
7.1.260.0100.00815.17
7.1.250.0130.00815.01
7.1.240.0210.00514.96
7.1.230.0190.00815.04
7.1.220.0160.00914.95
7.1.210.0230.00914.95
7.1.200.0130.00714.93
7.1.190.0210.00614.94
7.1.180.0230.00614.91
7.1.170.0270.01015.00
7.1.160.0250.00915.05
7.1.150.0150.00915.16
7.1.140.0340.00714.93
7.1.130.0180.00615.13
7.1.120.0210.01015.24
7.1.110.0390.00715.13
7.1.100.0280.00715.17
7.1.90.0230.00714.76
7.1.80.0190.00814.75
7.1.70.0260.00714.67
7.1.60.0230.00718.60
7.1.50.0300.01018.63
7.1.40.0260.00918.56
7.1.30.0270.00818.56
7.1.20.0350.00918.66
7.1.10.0250.00814.52
7.1.00.0190.00814.53
7.0.330.0150.00914.68
7.0.320.0080.01215.13
7.0.310.0130.00515.04
7.0.300.0180.00915.03
7.0.290.0120.00914.92
7.0.280.0080.01215.02
7.0.270.0140.00715.15
7.0.260.0100.01115.07
7.0.250.0150.00514.96
7.0.240.0120.01115.16
7.0.230.0100.01015.11
7.0.220.0160.00515.07
7.0.210.0060.01415.21
7.0.200.0130.00715.06
7.0.190.0100.00915.13
7.0.180.0110.00815.12
7.0.170.0090.01115.16
7.0.160.0140.00515.22
7.0.150.0120.00715.06
7.0.140.0130.00815.04
7.0.130.0120.01014.98
7.0.120.0120.00915.04
7.0.110.0160.00415.11
7.0.100.0150.00715.10
7.0.90.0250.01315.15
7.0.80.0130.00714.86
7.0.70.0080.01115.13
7.0.60.0120.00715.02
7.0.50.0130.01014.97
7.0.40.0170.00515.01
7.0.30.0100.01215.05
7.0.20.0130.00915.09
7.0.10.0130.01015.04
7.0.00.0110.01115.15
5.6.400.0100.01114.56
5.6.390.0110.00914.53
5.6.380.0110.00914.50
5.6.370.0120.01215.50
5.6.360.0120.01215.48
5.6.350.0120.01215.64
5.6.340.0110.01115.72
5.6.330.0130.01015.59
5.6.320.0160.00715.65
5.6.310.0120.01315.80
5.6.300.0080.01415.38
5.6.290.0130.01015.37
5.6.280.0160.01115.75
5.6.270.0130.01015.63
5.6.260.0130.00915.30
5.6.250.0150.01115.53
5.6.240.0180.00615.69
5.6.230.0110.01115.47
5.6.220.0190.00715.62
5.6.210.0160.00715.53
5.6.200.0100.01415.68
5.6.190.0150.01115.71
5.6.180.0170.00715.69
5.6.170.0130.01015.61
5.6.160.0080.01515.58
5.6.150.0120.01115.47
5.6.140.0180.00415.47
5.6.130.0080.01415.53
5.6.120.0100.01315.55
5.6.110.0120.01215.69
5.6.100.0110.01215.58
5.6.90.0120.00815.44
5.6.80.0100.01015.45
5.6.70.0160.00715.52
5.6.60.0110.00915.38
5.6.50.0130.01215.68
5.6.40.0070.01515.45
5.6.30.0150.00815.51
5.6.20.0150.00915.56
5.6.10.0100.01315.44
5.6.00.0120.01215.69

preferences:
31.49 ms | 403 KiB | 5 Q