3v4l.org

run code in 500+ PHP versions simultaneously
<?php class BelongsTo { public function getRelationCountHash($foo = null) {} } class MyBelongsTo extends BelongsTo { public function getRelationCountHash() {} }

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.5.30.0100.00817.19
8.5.20.0130.00817.91
8.5.10.0100.00816.49
8.5.00.0150.00819.95
8.4.180.0090.01219.59
8.4.170.0130.00920.54
8.4.160.0120.01021.37
8.4.150.0080.00416.79
8.4.140.0120.00917.63
8.4.130.0110.00917.88
8.4.120.0100.01024.15
8.4.110.0140.00522.75
8.4.100.0120.00917.51
8.4.90.0100.01017.60
8.4.80.0040.00417.66
8.4.70.0100.01017.73
8.4.60.0120.00817.77
8.4.50.0100.00817.69
8.4.40.0160.00317.52
8.4.30.0150.00420.27
8.4.20.0160.00719.61
8.4.10.0060.00319.27
8.3.300.0120.00820.35
8.3.290.0100.01120.64
8.3.280.0140.00720.16
8.3.270.0100.00916.73
8.3.260.0130.00616.66
8.3.250.0100.00618.68
8.3.240.0110.00917.05
8.3.230.0060.00416.76
8.3.220.0110.00816.52
8.3.210.0120.00616.50
8.3.200.0040.00416.63
8.3.190.0100.00816.84
8.3.180.0060.00518.27
8.3.170.0000.01816.43
8.3.160.0100.00717.13
8.3.150.0110.00317.04
8.3.140.0040.00416.68
8.3.130.0040.00418.37
8.3.120.0030.00618.95
8.3.110.0030.00620.94
8.3.100.0030.00618.50
8.3.90.0000.00826.77
8.3.80.0050.00519.36
8.3.70.0090.00616.58
8.3.60.0070.01018.55
8.3.50.0070.01024.40
8.3.40.0100.00722.00
8.3.30.0150.00018.65
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0000.00826.16
8.2.300.0120.00821.98
8.2.290.0120.00720.26
8.2.280.0130.00616.71
8.2.270.0090.00916.66
8.2.260.0050.00318.69
8.2.250.0080.00018.44
8.2.240.0150.00016.82
8.2.230.0100.01322.58
8.2.220.0030.00624.06
8.2.210.0100.00326.77
8.2.200.0030.00618.88
8.2.190.0040.01116.58
8.2.180.0140.00025.92
8.2.170.0130.01018.79
8.2.160.0090.00622.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0080.00026.35
8.2.110.0000.00920.57
8.2.100.0060.00617.72
8.2.90.0030.00517.36
8.2.80.0000.00818.61
8.2.70.0000.00917.50
8.2.60.0000.00817.38
8.2.50.0040.00418.05
8.2.40.0050.00318.09
8.2.30.0040.00417.86
8.2.20.0070.00017.86
8.2.10.0020.00518.98
8.2.00.0000.00719.08
8.1.340.0090.01017.57
8.1.330.0090.00821.77
8.1.320.0040.00515.93
8.1.310.0040.00418.27
8.1.300.0030.00617.84
8.1.290.0040.00830.84
8.1.280.0070.00725.92
8.1.270.0000.01423.99
8.1.260.0080.00028.09
8.1.250.0000.00828.09
8.1.240.0060.00318.76
8.1.230.0070.00420.88
8.1.220.0000.00818.31
8.1.210.0040.00418.77
8.1.200.0000.00817.40
8.1.190.0030.00617.11
8.1.180.0040.00421.98
8.1.170.0060.00318.72
8.1.160.0040.00418.63
8.1.150.0030.00618.79
8.1.140.0000.00718.66
8.1.130.0030.00320.11
8.1.120.0030.00517.22
8.1.110.0040.00417.23
8.1.100.0050.00217.35
8.1.90.0030.00517.29
8.1.80.0050.00317.38
8.1.70.0030.00517.32
8.1.60.0000.00817.43
8.1.50.0000.00817.32
8.1.40.0000.00817.36
8.1.30.0040.00417.45
8.1.20.0000.00917.50
8.1.10.0050.00317.34
8.1.00.0040.00417.32
8.0.300.0080.00018.77
8.0.290.0080.00016.58
8.0.280.0030.00318.22
8.0.270.0030.00317.95
8.0.260.0030.00318.44
8.0.250.0030.00316.84
8.0.240.0100.00016.73
8.0.230.0000.00716.79
8.0.220.0050.00316.71
8.0.210.0000.00716.73
8.0.200.0000.00716.86
8.0.190.0040.00316.82
8.0.180.0040.00416.74
8.0.170.0040.00416.83
8.0.160.0030.00316.75
8.0.150.0000.00716.77
8.0.140.0030.00516.84
8.0.130.0030.00313.21
8.0.120.0040.00416.81
8.0.110.0040.00416.88
8.0.100.0030.00316.85
8.0.90.0000.00716.86
8.0.80.0030.01316.85
8.0.70.0020.00516.86
8.0.60.0030.00316.93
8.0.50.0000.00716.70
8.0.30.0100.00616.66
8.0.20.0120.00617.05
8.0.10.0040.00416.94
8.0.00.0160.00616.61
7.4.330.0020.00215.55
7.4.320.0000.00616.27
7.4.300.0030.00316.46
7.4.290.0000.00816.40
7.4.280.0040.00416.48
7.4.270.0030.00316.41
7.4.260.0030.00313.14
7.4.250.0070.00016.43
7.4.240.0000.00716.26
7.4.230.0000.00716.34
7.4.220.0030.00316.56
7.4.210.0070.00616.46
7.4.200.0000.00716.37
7.4.130.0150.00316.46
7.4.120.0120.00616.38
7.4.110.0130.01016.34
7.4.100.0050.01316.48
7.4.90.0200.00316.23
7.4.80.0120.00616.39
7.4.70.0090.01016.57
7.4.60.0100.01316.23
7.4.50.0120.01216.30
7.4.40.0130.01316.62
7.4.30.0110.00716.32
7.4.20.0030.01516.18
7.4.10.0060.01216.39
7.4.00.0080.01115.83
7.3.330.0070.00016.08
7.3.320.0000.00513.26
7.3.310.0030.00616.12
7.3.300.0030.00316.27
7.3.290.0120.00516.25
7.3.260.0120.00616.13
7.3.250.0140.00316.18
7.3.240.0030.01316.14
7.3.230.0090.01316.39
7.3.220.0160.00316.27
7.3.210.0140.00816.21
7.3.200.0160.00316.25
7.3.190.0150.00716.15
7.3.180.0140.01016.10
7.3.170.0080.00816.42
7.3.160.0070.01116.20
7.3.150.0060.01016.19
7.3.140.0120.00616.13
7.3.130.0120.00916.33
7.3.120.0030.01416.23
7.3.110.0070.01016.39
7.3.100.0170.00016.22
7.3.90.0120.00616.24
7.3.80.0100.01016.25
7.3.70.0170.00716.17
7.3.60.0150.01016.27
7.3.50.0110.00816.16
7.3.40.0150.00316.29
7.3.30.0130.00416.27
7.3.20.0110.00718.09
7.3.10.0130.00317.92
7.3.00.0160.00717.93
7.2.340.0100.00716.23
7.2.330.0100.01016.02
7.2.320.0080.01116.15
7.2.310.0030.02016.42
7.2.300.0170.00916.47
7.2.290.0070.01016.16
7.2.280.0130.00716.29
7.2.270.0120.00616.41
7.2.260.0110.00716.44
7.2.250.0070.01316.50
7.2.240.0100.00616.11
7.2.230.0130.00916.39
7.2.220.0110.00616.37
7.2.210.0110.01516.41
7.2.200.0170.00016.43
7.2.190.0130.00316.38
7.2.180.0070.01316.46
7.2.170.0370.01816.32
7.2.160.0090.00916.52
7.2.150.0110.00818.29
7.2.140.0160.00518.21
7.2.130.0100.01018.18
7.2.120.0090.01318.07
7.2.110.0100.01018.18
7.2.100.0040.02118.24
7.2.90.0120.00918.04
7.2.80.0190.00418.16
7.2.70.0100.01018.09
7.2.60.0090.00918.34
7.2.50.0050.01418.29
7.2.40.0120.00618.30
7.2.30.0140.00418.12
7.2.20.0110.00918.30
7.2.10.0040.01618.30
7.2.00.0070.01118.06

preferences:
127.74 ms | 1512 KiB | 4 Q