3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait AbstractTrait { abstract public function selfReturner() : self; } trait ConcreteTrait { public function selfReturner() : self { return $this; } } class Test { use AbstractTrait; use ConcreteTrait; }

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.0080.01316.38
8.3.50.0030.01016.37
8.3.40.0130.00320.92
8.3.30.0060.00918.35
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0080.00026.16
8.2.180.0140.00025.92
8.2.170.0150.00018.95
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0050.00226.16
8.2.120.0020.00526.35
8.2.110.0090.00020.52
8.2.100.0080.00318.16
8.2.90.0040.00418.22
8.2.80.0030.00617.97
8.2.70.0000.00917.91
8.2.60.0030.00518.22
8.2.50.0040.00418.10
8.2.40.0000.00819.20
8.2.30.0040.00419.09
8.2.20.0040.00418.08
8.2.10.0040.00419.10
8.2.00.0030.00319.14
8.1.280.0100.00725.92
8.1.270.0060.00323.64
8.1.260.0040.00428.09
8.1.250.0060.00328.09
8.1.240.0120.00919.14
8.1.230.0100.00020.87
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0030.00617.23
8.1.190.0060.00317.11
8.1.180.0060.00318.10
8.1.170.0090.00018.48
8.1.160.0000.00918.82
8.1.150.0040.00418.80
8.1.140.0000.00818.82
8.1.130.0030.00317.42
8.1.120.0030.00717.41
8.1.110.0060.00317.41
8.1.100.0040.00417.44
8.1.90.0040.00417.31
8.1.80.0040.00417.23
8.1.70.0080.00017.32
8.1.60.0000.00817.54
8.1.50.0030.00617.34
8.1.40.0000.00817.35
8.1.30.0030.00617.56
8.1.20.0030.00517.54
8.1.10.0070.00017.27
8.1.00.0030.00617.34
8.0.300.0040.00419.70
8.0.290.0040.00416.75
8.0.280.0000.00818.43
8.0.270.0040.00416.76
8.0.260.0000.00616.76
8.0.250.0070.00016.85
8.0.240.0000.00716.79
8.0.230.0030.00316.79
8.0.220.0030.00616.88
8.0.210.0000.00716.79
8.0.200.0080.00016.89
8.0.190.0050.00216.88
8.0.180.0030.00316.91
8.0.170.0000.00916.73
8.0.160.0040.00416.78
8.0.150.0040.00316.64
8.0.140.0000.00816.67
8.0.130.0000.00613.31
8.0.120.0040.00416.77
8.0.110.0000.00716.61
8.0.100.0070.00016.68
8.0.90.0000.00816.84
8.0.80.0080.00916.77
8.0.70.0090.00016.62
8.0.60.0040.00416.89
8.0.50.0030.00516.73
8.0.30.0080.00816.87
8.0.20.0080.01016.99
8.0.10.0030.00516.81
8.0.00.0140.00416.73
7.4.330.0050.00015.55
7.4.320.0000.00616.34
7.4.300.0030.00316.44
7.4.290.0000.00716.27
7.4.280.0050.00316.47
7.4.270.0030.00316.56
7.4.260.0000.00513.21
7.4.250.0070.00016.39
7.4.240.0060.00616.43
7.4.230.0040.00416.56
7.4.220.0020.00616.50
7.4.210.0110.00616.48
7.4.200.0000.00716.43
7.4.130.0080.00816.39
7.4.120.0110.01116.34
7.4.110.0100.00616.52
7.4.100.0170.00316.48
7.4.90.0090.00916.48
7.4.80.0070.01016.51
7.4.70.0140.00516.35
7.4.60.0100.00716.69
7.4.50.0210.00316.37
7.4.40.0130.00616.52
7.4.30.0120.00616.39
7.4.20.0100.00716.36
7.4.10.0080.00816.49
7.4.00.0120.00616.21
7.3.330.0000.00616.04
7.3.320.0000.00513.10
7.3.310.0020.00416.13
7.3.300.0000.00716.24
7.3.290.0070.01116.24
7.3.260.0100.01316.43
7.3.230.0040.01216.36
7.3.220.0060.01216.64
7.3.210.0090.01216.47
7.3.200.0090.01316.37
7.3.190.0060.01316.42
7.3.180.0070.01116.39
7.3.170.0090.00916.41
7.3.160.0130.00716.24
7.3.150.0100.00716.43
7.3.140.0100.00716.22
7.3.130.0070.01016.50
7.3.120.0090.00916.27
7.3.110.0130.00616.46
7.3.100.0090.00916.41
7.3.90.0060.01316.11
7.3.80.0130.00916.32
7.3.70.0170.00316.29
7.3.60.0000.01716.31
7.3.50.0080.01216.38
7.3.40.0100.01116.36
7.3.30.0140.00716.27
7.3.20.0180.00316.41
7.3.10.0140.01116.27
7.3.00.0190.00616.38
7.2.330.0120.00816.41
7.2.320.0000.01916.62
7.2.310.0120.01216.18
7.2.300.0100.01016.34
7.2.290.0110.00716.31
7.2.280.0070.01116.55
7.2.270.0140.00316.41
7.2.260.0130.00616.46
7.2.250.0150.00316.62
7.2.240.0120.01516.54
7.2.230.0070.01516.59
7.2.220.0140.01016.60
7.2.210.0130.00716.64
7.2.200.0060.01216.61
7.2.190.0090.01216.45
7.2.180.0070.01316.62
7.2.170.0140.00516.25
7.2.160.0090.01216.34
7.2.150.0030.01916.28
7.2.140.0090.01816.47
7.2.130.0130.01016.31
7.2.120.0000.01816.33
7.2.110.0130.01016.46
7.2.100.0140.01116.27
7.2.90.0140.01116.46
7.2.80.0130.00916.57
7.2.70.0130.01316.50
7.2.60.0070.01716.60
7.2.50.0140.01116.48
7.2.40.0060.01216.41
7.2.30.0190.00016.56
7.2.20.0120.01216.55
7.2.10.0330.00716.36
7.2.00.0120.00916.60

preferences:
70.02 ms | 400 KiB | 5 Q