3v4l.org

run code in 300+ PHP versions simultaneously
<?php function set($name, callable $spec) { $this->registry[$name] = $spec; $this->converted[$name] = false; }

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.60.0100.01016.38
8.3.50.0110.00522.10
8.3.40.0160.00618.54
8.3.30.0100.00319.00
8.3.20.0040.00420.41
8.3.10.0080.00023.48
8.3.00.0070.00022.43
8.2.180.0040.01116.50
8.2.170.0070.00722.96
8.2.160.0100.00320.35
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0100.00726.16
8.2.120.0040.00422.26
8.2.110.0080.00022.20
8.2.100.0060.00617.47
8.2.90.0000.00718.97
8.2.80.0040.00417.97
8.2.70.0040.00417.25
8.2.60.0030.00517.75
8.2.50.0000.00818.07
8.2.40.0000.00718.16
8.2.30.0040.00417.94
8.2.20.0000.00717.55
8.2.10.0070.00017.45
8.2.00.0080.00317.48
8.1.280.0060.01225.92
8.1.270.0040.00423.66
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0090.00023.96
8.1.230.0040.00719.23
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0060.00317.10
8.1.190.0050.00317.18
8.1.180.0050.00318.10
8.1.170.0060.00318.46
8.1.160.0050.00322.00
8.1.150.0000.00718.36
8.1.140.0000.00717.36
8.1.130.0030.00317.80
8.1.120.0000.00717.34
8.1.110.0000.00717.37
8.1.100.0000.00717.37
8.1.90.0000.00717.20
8.1.80.0030.00617.38
8.1.70.0040.00417.31
8.1.60.0080.00017.50
8.1.50.0050.00317.38
8.1.40.0000.00717.40
8.1.30.0040.00417.39
8.1.20.0000.00717.45
8.1.10.0040.00417.37
8.1.00.0050.00317.34
8.0.300.0030.00318.77
8.0.290.0040.00416.93
8.0.280.0030.00318.32
8.0.270.0000.00717.17
8.0.260.0000.00616.69
8.0.250.0070.00016.74
8.0.240.0060.00316.86
8.0.230.0040.00416.77
8.0.220.0000.00716.67
8.0.210.0070.00016.80
8.0.200.0070.00016.81
8.0.190.0050.00216.75
8.0.180.0030.00416.71
8.0.170.0000.00816.84
8.0.160.0000.00716.70
8.0.150.0040.00416.59
8.0.140.0000.00716.63
8.0.130.0000.00613.28
8.0.120.0000.00816.76
8.0.110.0000.00716.79
8.0.100.0060.00316.82
8.0.90.0050.00316.82
8.0.80.0070.00716.71
8.0.70.0040.00416.83
8.0.60.0000.00716.62
8.0.50.0050.00216.74
8.0.30.0130.00716.81
8.0.20.0100.00817.40
8.0.10.0000.00716.92
8.0.00.0100.01216.68
7.4.330.0000.00515.00
7.4.320.0030.00316.46
7.4.300.0040.00416.46
7.4.290.0040.00416.27
7.4.280.0030.00416.46
7.4.270.0000.00716.47
7.4.260.0040.00416.26
7.4.250.0000.00816.32
7.4.240.0030.00316.39
7.4.230.0030.00316.38
7.4.220.0150.00916.40
7.4.210.0100.00616.43
7.4.200.0000.00716.58
7.4.190.0030.00316.34
7.4.160.0070.01016.41
7.4.150.0040.01417.40
7.4.140.0110.00817.86
7.4.130.0120.00516.35
7.4.120.0070.01116.58
7.4.110.0080.00816.34
7.4.100.0030.01416.32
7.4.90.0080.00816.30
7.4.80.0130.00816.48
7.4.70.0070.01016.36
7.4.60.0040.01216.27
7.4.50.0030.00316.04
7.4.40.0120.00322.77
7.4.30.0030.01216.37
7.4.00.0070.00714.82
7.3.330.0000.00513.20
7.3.320.0050.00013.13
7.3.310.0030.00316.14
7.3.300.0070.00016.05
7.3.290.0090.01116.20
7.3.280.0110.01016.12
7.3.270.0120.01217.40
7.3.260.0040.01416.21
7.3.250.0130.00616.43
7.3.240.0060.00916.50
7.3.230.0030.01316.39
7.3.210.0100.00716.27
7.3.200.0040.01419.39
7.3.190.0170.00016.24
7.3.180.0040.01216.30
7.3.170.0060.01116.27
7.3.160.0070.00716.44
7.3.120.0090.00414.77
7.2.330.0110.00516.29
7.2.320.0030.01416.13
7.2.310.0070.01616.27
7.2.300.0060.01016.34
7.2.290.0130.00316.46
7.2.60.0110.00316.64
7.2.50.0000.01416.87
7.1.200.0000.01215.75
7.1.70.0000.00716.94
7.1.60.0120.01219.29
7.1.50.0070.01334.39
7.1.00.0100.06722.45
7.0.200.0080.00416.73
7.0.140.0030.07022.04
7.0.60.0070.03720.02
7.0.50.0100.07317.73
7.0.40.0100.07720.18
7.0.30.0230.07720.34
7.0.20.0230.08020.22
7.0.10.0270.06720.07
7.0.00.0100.08020.25
5.6.280.0000.07720.89
5.6.210.0170.07020.52
5.6.200.0070.03718.25
5.6.190.0030.08320.57
5.6.180.3800.04320.63
5.6.170.0270.08020.45
5.6.160.0070.05320.57
5.6.150.0230.03318.28
5.6.140.0030.04018.28
5.6.130.0130.07318.17
5.6.120.0070.06021.15
5.6.110.0070.09021.14
5.6.100.0130.08020.97
5.6.90.0030.05721.00
5.6.80.0100.04720.52
5.6.70.0200.03020.48
5.5.350.0400.06720.41
5.5.340.0070.04317.98
5.5.330.0170.07720.40
5.5.320.0200.08320.27
5.5.310.0370.07720.34
5.5.300.0030.05017.93
5.5.290.0070.08017.96
5.5.280.0130.08020.68
5.5.270.0070.07320.77
5.5.260.0130.08020.96
5.5.250.0070.08020.69
5.5.240.0070.08020.36
5.4.450.0130.06319.64
5.4.440.0200.03719.55
5.4.430.0100.04719.40
5.4.420.0230.05319.47
5.4.410.0130.03719.32
5.4.400.0170.04019.09
5.4.390.0130.05019.31
5.4.380.0170.03318.88
5.4.370.0270.04019.25
5.4.360.0200.04319.16
5.4.350.0370.05319.24
5.4.340.0200.07319.32
5.4.320.0200.07019.20
5.4.310.0200.06018.85
5.4.300.0130.07319.25
5.4.290.0200.07719.23
5.4.280.0130.05019.31
5.4.270.0200.08018.87
5.4.260.0230.05319.22
5.4.250.0270.06719.17
5.4.240.0200.06319.21
5.4.230.0300.03719.21
5.4.220.0270.07318.88
5.4.210.0170.04719.30
5.4.200.0230.07019.14
5.4.190.0270.06319.30
5.4.180.0170.05019.23
5.4.170.0230.04019.30
5.4.160.0270.06719.17
5.4.150.0270.06719.12
5.4.140.0330.06016.50
5.4.130.0270.06716.34
5.4.120.0330.05716.34
5.4.110.0300.07316.54
5.4.100.0230.04716.53
5.4.90.0270.06316.46
5.4.80.0270.06016.54
5.4.70.0300.06716.44
5.4.60.0200.05716.33
5.4.50.0230.04316.51
5.4.40.0170.07716.43
5.4.30.0300.04316.43
5.4.20.0170.06716.23
5.4.10.0330.06016.50
5.4.00.0270.06015.89
5.3.290.0200.06714.74
5.3.280.0200.08014.75
5.3.270.0230.07314.82
5.3.260.0270.04714.57
5.3.250.0230.07714.62
5.3.240.0230.07014.57
5.3.230.0200.07714.62
5.3.220.0270.07014.79
5.3.210.0270.04714.53
5.3.200.0270.05714.55
5.3.190.0200.07314.55
5.3.180.0270.07014.72
5.3.170.0230.07314.48
5.3.160.0270.07014.53
5.3.150.0300.06714.78
5.3.140.0270.04014.46
5.3.130.0270.07314.61
5.3.120.0270.06714.77
5.3.110.0270.05014.63
5.3.100.0400.07714.01
5.3.90.0200.03714.18
5.3.80.0270.07013.93
5.3.70.0300.04314.09
5.3.60.0200.05314.08
5.3.50.0170.04714.10
5.3.40.0230.04013.87
5.3.30.0230.04313.95
5.3.20.0200.06713.61
5.3.10.0200.04713.89
5.3.00.0270.06013.56
5.2.170.0300.02713.22
5.2.160.0270.04313.22
5.2.150.0100.05013.22
5.2.140.0300.05013.22
5.2.130.0130.03313.22
5.2.120.0130.03313.22
5.2.110.0170.05013.22
5.2.100.0230.04713.22
5.2.90.0270.05013.22
5.2.80.0170.04313.22
5.2.70.0170.06013.22
5.2.60.0130.06013.22
5.2.50.0100.05713.22
5.2.40.0100.05013.22
5.2.30.0170.06013.22
5.2.20.0200.05013.22
5.2.10.0230.05013.22
5.2.00.0230.05013.22
5.1.60.0230.04013.22
5.1.50.0100.04313.22
5.1.40.0230.04713.22
5.1.30.0300.03313.22
5.1.20.0170.03313.22
5.1.10.0130.02713.22
5.1.00.0100.03013.22
5.0.50.0070.02713.22
5.0.40.0170.03013.22
5.0.30.0070.04013.22
5.0.20.0130.03013.22
5.0.10.0130.03713.22
5.0.00.0100.05013.22
4.4.90.0130.03013.22
4.4.80.0070.02013.22
4.4.70.0130.02313.22
4.4.60.0030.02713.22
4.4.50.0130.03013.22
4.4.40.0130.05013.22
4.4.30.0070.03713.22
4.4.20.0100.01313.22
4.4.10.0000.02313.22
4.4.00.0100.04013.22
4.3.110.0070.03013.22
4.3.100.0100.03013.22
4.3.90.0030.03713.22
4.3.80.0070.03013.22
4.3.70.0100.01313.22
4.3.60.0070.03013.22
4.3.50.0070.03313.22
4.3.40.0100.04713.22
4.3.30.0030.03313.22
4.3.20.0030.02713.22
4.3.10.0030.03713.22
4.3.00.0100.02013.22

preferences:
38.97 ms | 401 KiB | 5 Q