3v4l.org

run code in 300+ PHP versions simultaneously
<?php Trait Foo { private abstract function toBeImplemented(); } Class Bar { use Foo; }

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.10.0130.00816.52
8.5.00.0110.00919.92
8.4.150.0020.00114.05
8.4.140.0090.01117.48
8.4.130.0130.00817.81
8.4.120.0110.00621.87
8.4.110.0080.01119.05
8.4.100.0120.00917.79
8.4.90.0120.00817.94
8.4.80.0130.00719.41
8.4.70.0060.00217.77
8.4.60.0060.01318.67
8.4.50.0060.00317.68
8.4.40.0160.00017.66
8.4.30.0060.00320.13
8.4.20.0160.00419.77
8.4.10.0060.01317.73
8.3.280.0110.01018.18
8.3.270.0110.00816.72
8.3.260.0100.01016.85
8.3.250.0120.00619.07
8.3.240.0110.00718.74
8.3.230.0110.00616.57
8.3.220.0070.00620.96
8.3.210.0120.00716.56
8.3.200.0140.00516.59
8.3.190.0120.00716.68
8.3.180.0040.00318.37
8.3.170.0120.00616.66
8.3.160.0040.01416.47
8.3.150.0040.01517.15
8.3.140.0070.00717.10
8.3.130.0000.00916.74
8.3.120.0150.00418.84
8.3.110.0000.00816.93
8.3.100.0110.00716.92
8.3.90.0150.00326.77
8.3.80.0070.01019.36
8.3.70.0070.00716.63
8.3.60.0090.01216.60
8.3.50.0040.01117.97
8.3.40.0170.00318.67
8.3.30.0110.00418.59
8.3.20.0030.00624.18
8.3.10.0050.00224.66
8.3.00.0040.00426.16
8.2.290.0080.01118.64
8.2.280.0060.00418.42
8.2.270.0130.00616.83
8.2.260.0110.00718.98
8.2.250.0070.01316.54
8.2.240.0100.00718.81
8.2.230.0120.00620.94
8.2.220.0150.00324.06
8.2.210.0110.00726.77
8.2.200.0040.01418.88
8.2.190.0120.00618.41
8.2.180.0070.00725.92
8.2.170.0120.00318.79
8.2.160.0090.01222.96
8.2.150.0070.00325.66
8.2.140.0000.00724.66
8.2.130.0070.00026.16
8.2.120.0080.00019.70
8.2.110.0070.00320.47
8.2.100.0060.00320.64
8.1.330.0110.00715.94
8.1.320.0070.01116.04
8.1.310.0090.00616.40
8.1.300.0060.01018.29
8.1.290.0090.00030.84
8.1.280.0110.00625.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0070.00318.46
8.1.230.0060.00318.47
8.0.30.0160.01216.89
8.0.20.0140.00716.94
8.0.10.0140.01716.96
8.0.00.0150.01116.97
7.4.160.0190.00916.46
7.4.150.0180.00716.51
7.4.140.0130.01216.44
7.4.130.0120.00916.21
7.4.120.0170.00716.14
7.4.110.0100.01316.26
7.4.100.0080.01016.34
7.4.90.0130.00916.23
7.4.80.0150.01016.24
7.4.70.0190.00816.28
7.4.60.0130.01416.21
7.4.50.0140.01016.17
7.4.40.0050.01516.17
7.4.30.0080.01216.34
7.4.20.0100.00916.25
7.4.10.0070.01316.18
7.4.00.0080.01116.39
7.3.270.0170.00916.23
7.3.260.0140.01116.13
7.3.250.0180.01016.24
7.3.240.0070.01316.18
7.3.230.0130.00816.21
7.3.220.0060.01416.09
7.3.210.0220.00816.14
7.3.200.0150.01516.12
7.3.190.0210.00916.18
7.3.180.0140.01216.17
7.3.170.0140.01116.13
7.3.160.0080.01216.16
7.3.150.0110.00816.13
7.3.140.0190.00616.16
7.3.130.0190.01116.18
7.3.120.0260.00716.13
7.3.110.0220.01016.01
7.3.100.0170.00816.08
7.3.90.0140.01116.36
7.3.80.0160.00916.10
7.3.70.0220.00316.20
7.3.60.0300.00716.21
7.3.50.0150.01016.21
7.3.40.0150.01016.25
7.3.30.0160.01016.25
7.3.20.0160.01016.28
7.3.10.0190.00616.21
7.3.00.0170.01116.19

preferences:
38.62 ms | 403 KiB | 5 Q