3v4l.org

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

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.0110.00718.52
8.3.130.0040.00416.69
8.3.120.0040.01118.66
8.3.110.0030.00620.94
8.3.100.0060.00316.48
8.3.90.0050.00226.77
8.3.80.0060.00316.54
8.3.70.0030.01516.63
8.3.60.0130.00716.63
8.3.50.0150.00218.36
8.3.40.0090.00618.66
8.3.30.0110.00318.45
8.3.20.0090.00021.83
8.3.10.0040.00421.82
8.3.00.0070.00319.66
8.2.250.0040.00418.36
8.2.240.0150.00018.80
8.2.230.0070.00022.58
8.2.220.0190.00024.06
8.2.210.0030.00626.77
8.2.200.0000.00918.41
8.2.190.0040.01116.58
8.2.180.0080.00818.41
8.2.170.0030.01718.83
8.2.160.0060.00922.96
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0070.00021.00
8.2.110.0110.00522.06
8.2.100.0090.00818.14
8.2.90.0050.00919.56
8.2.80.0110.00318.29
8.2.70.0100.00318.23
8.2.60.0070.00818.16
8.2.50.0020.00718.39
8.2.40.0090.00519.57
8.2.30.0110.00518.88
8.2.20.0090.00518.05
8.2.10.0080.00619.18
8.2.00.0040.00618.25
8.1.300.0120.00920.20
8.1.290.0050.00530.84
8.1.280.0080.00825.92
8.1.270.0080.00023.72
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0090.00320.32
8.1.230.0050.00518.83
8.1.220.0070.00218.03
8.1.210.0040.00519.25
8.1.200.0020.00817.74
8.1.190.0040.00618.54
8.1.180.0030.00619.00
8.1.170.0010.00819.52
8.1.160.0030.00519.56
8.1.150.0030.00519.63
8.1.140.0050.00418.81
8.1.130.0060.00219.63
8.1.120.0060.00318.85
8.1.110.0050.00518.77
8.1.100.0070.00218.69
8.1.90.0050.00418.26
8.1.80.0080.00417.71
8.1.70.0070.00617.69
8.1.60.0060.00617.83
8.1.50.0060.00717.78
8.1.40.0100.00317.83
8.1.30.0090.00317.96
8.1.20.0130.00117.96
8.1.10.0070.00517.66
8.1.00.0100.00217.63
8.0.300.0040.00418.71
8.0.290.0050.00318.08
8.0.280.0040.00418.98
8.0.270.0030.00517.20
8.0.260.0060.00218.29
8.0.250.0050.00517.29
8.0.240.0030.00517.28
8.0.230.0000.00818.44
8.0.220.0070.00618.13
8.0.210.0050.00617.06
8.0.200.0060.00517.06
8.0.190.0050.00617.79
8.0.180.0050.00517.68
8.0.170.0090.00317.74
8.0.160.0060.00517.75
8.0.150.0020.00817.66
8.0.140.0040.00717.63
8.0.130.0080.00216.44
8.0.120.0050.00617.60
8.0.110.0040.00617.82
8.0.100.0090.00217.68
8.0.90.0040.00617.40
8.0.80.0070.00417.42
8.0.70.0070.00317.42
8.0.60.0060.00517.42
8.0.50.0030.00717.32
8.0.30.0100.00616.98
8.0.20.0060.00717.12
8.0.10.0100.00517.12
8.0.00.0080.00916.89
7.4.330.0060.00014.79
7.4.320.0050.00416.80
7.4.300.0070.00316.76
7.4.290.0100.00016.87
7.4.280.0070.00316.73
7.4.270.0070.00316.79
7.4.260.0060.00316.79
7.4.250.0070.00316.79
7.4.240.0030.00816.74
7.4.230.0070.00516.71
7.4.220.0050.00416.72
7.4.210.0050.00716.61
7.4.200.0040.00616.71
7.4.190.0050.00516.84
7.4.180.0080.00216.90
7.4.160.0070.00616.70
7.4.150.0090.00316.65
7.4.140.0100.00717.18
7.4.130.0090.00716.55
7.4.120.0110.00616.47
7.4.110.0110.00816.49
7.4.100.0130.00616.49
7.4.90.0120.00816.49
7.4.80.0120.00716.62
7.4.70.0100.01016.35
7.4.60.0110.00816.38
7.4.50.0110.00816.36
7.4.40.0100.00916.35
7.4.30.0130.00816.35
7.4.20.0100.01016.40
7.4.10.0130.00916.37
7.4.00.0100.00816.10
7.3.330.0050.00715.52
7.3.320.0160.00415.41
7.3.310.0150.00516.48
7.3.300.0140.00716.42
7.3.290.0130.00416.44
7.3.280.0120.00616.33
7.3.270.0130.00716.44
7.3.260.0140.00616.34
7.3.250.0140.00816.27
7.3.240.0120.00616.37
7.3.230.0100.00816.35
7.3.220.0090.01016.30
7.3.210.0120.00816.32
7.3.200.0130.00516.37
7.3.190.0110.00916.28
7.3.180.0120.00816.32
7.3.170.0110.00916.30
7.3.160.0120.00716.33
7.3.150.0130.00816.23
7.3.140.0120.00916.34
7.3.130.0100.00916.29
7.3.120.0130.00716.13
7.3.110.0090.01016.15
7.3.100.0130.00815.99
7.3.90.0120.00816.13
7.3.80.0120.00915.95
7.3.70.0130.00715.96
7.3.60.0130.00715.84
7.3.50.0120.00815.79
7.3.40.0090.00915.68
7.3.30.0120.00815.65
7.3.20.0100.00816.29
7.3.10.0140.00816.20
7.3.00.0120.01016.09
7.2.340.0130.00716.28
7.2.330.0110.00616.31
7.2.320.0110.00716.38
7.2.310.0090.00916.37
7.2.300.0110.00716.34
7.2.290.0100.00916.42
7.2.280.0100.00816.33
7.2.270.0110.00716.31
7.2.260.0090.00916.33
7.2.250.0070.01016.19
7.2.240.0110.00716.37
7.2.230.0120.00616.10
7.2.220.0120.00716.04
7.2.210.0120.00715.99
7.2.200.0110.00916.07
7.2.190.0090.00915.84
7.2.180.0090.00815.79
7.2.170.0090.00915.77
7.2.160.0110.00615.76
7.2.150.0110.00816.39
7.2.140.0110.00716.42
7.2.130.0160.00916.23
7.2.120.0170.00816.18
7.2.110.0210.00816.17
7.2.100.0180.00716.18
7.2.90.0140.01016.17
7.2.80.0150.01016.17
7.2.70.0180.00816.19
7.2.60.0130.00916.17
7.2.50.0130.00916.23
7.2.40.0270.00916.35
7.2.30.0230.01016.33
7.2.20.0270.00716.36
7.2.10.0230.00916.42
7.2.00.0190.00816.51
7.1.330.0180.00815.74
7.1.320.0180.00815.63
7.1.310.0170.00715.60
7.1.300.0160.00715.49
7.1.290.0170.00615.46
7.1.280.0150.00815.34
7.1.270.0140.00715.39
7.1.260.0160.00815.33
7.1.250.0170.00915.08
7.1.240.0200.00615.04
7.1.230.0210.00915.05
7.1.220.0270.00715.07
7.1.210.0240.00815.10
7.1.200.0170.00915.09
7.1.190.0220.00715.09
7.1.180.0220.00815.08
7.1.170.0220.00815.07
7.1.160.0260.00815.17
7.1.150.0330.00715.19
7.1.140.0270.00715.22
7.1.130.0250.00915.22
7.1.120.0280.00815.23
7.1.110.0270.00815.26
7.1.100.0300.00815.22
7.1.90.0310.00815.19
7.1.80.0280.00915.21
7.1.70.0260.00815.04
7.1.60.0280.00816.64
7.1.50.0330.00916.59
7.1.40.0310.00716.57
7.1.30.0310.00916.59
7.1.20.0290.00916.56
7.1.10.0340.00715.04
7.1.00.0320.00715.05
7.0.330.0200.00714.79
7.0.320.0200.00815.72
7.0.310.0160.00815.60
7.0.300.0190.00715.62
7.0.290.0160.00915.59
7.0.280.0180.00715.59
7.0.270.0170.00715.59
7.0.260.0170.00815.58
7.0.250.0170.00715.69
7.0.240.0160.00715.68
7.0.230.0150.00815.65
7.0.220.0160.00815.66
7.0.210.0150.00915.59
7.0.200.0260.00915.64
7.0.190.0160.00815.63
7.0.180.0150.00915.62
7.0.170.0170.00815.70
7.0.160.0160.00715.64
7.0.150.0170.00715.65
7.0.140.0150.00915.64
7.0.130.0150.00815.59
7.0.120.0170.00815.66
7.0.110.0150.00915.65
7.0.100.0170.00715.65
7.0.90.0160.00815.64
7.0.80.0190.00715.61
7.0.70.0140.00815.62
7.0.60.0150.00815.60
7.0.50.0160.00615.62
7.0.40.0240.00715.62
7.0.30.0150.01015.63
7.0.20.0180.01015.59
7.0.10.0130.00915.64
7.0.00.0140.00817.04
5.6.400.0150.01115.16
5.6.390.0140.01015.07
5.6.380.0120.01014.89
5.6.370.0160.00915.72
5.6.360.0140.01015.70
5.6.350.0160.00915.77
5.6.340.0140.01115.80
5.6.330.0160.00815.81
5.6.320.0160.00815.85
5.6.310.0150.00915.81
5.6.300.0160.00915.69
5.6.290.0140.01015.74
5.6.280.0170.00915.81
5.6.270.0140.00915.72
5.6.260.0130.01015.75
5.6.250.0140.01817.17
5.6.240.0130.01015.78
5.6.230.0160.00915.79
5.6.220.0140.00815.77
5.6.210.0140.01115.72
5.6.200.0140.01015.80
5.6.190.0150.00815.79
5.6.180.0150.00915.73
5.6.170.0160.00815.76
5.6.160.0130.01015.75
5.6.150.0110.01215.75
5.6.140.0140.00815.76
5.6.130.0130.01015.78
5.6.120.0120.01015.80
5.6.110.0130.00915.77
5.6.100.0140.00915.67
5.6.90.0140.00915.77
5.6.80.0150.00815.74
5.6.70.0140.00815.72
5.6.60.0150.00815.74
5.6.50.0170.01215.68
5.6.40.0160.01115.71
5.6.30.0150.00815.74
5.6.20.0160.00815.67
5.6.10.0170.00815.67
5.6.00.0150.00815.71
5.4.220.0100.04725.66

preferences:
41.87 ms | 403 KiB | 5 Q