3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Test { public function test() {} } class TestMe { use Test { Test::test as protected internalTest }; public function test() {} } new TestMe();

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)
5.4.260.0070.05719.03
5.4.250.0200.05318.90
5.4.240.0100.07719.02
5.4.230.0130.06019.00
5.4.220.0130.06718.90
5.4.210.0130.04719.01
5.4.200.0070.07318.98
5.4.190.0070.06018.84
5.4.180.0130.05718.80
5.4.170.0130.04718.94
5.4.160.0070.05318.95
5.4.150.0100.05319.04
5.4.140.0100.05316.55
5.4.130.0130.04716.58
5.4.120.0030.06316.54
5.4.110.0130.04716.48
5.4.100.0070.05016.48
5.4.90.0130.04316.48
5.4.80.0130.07016.40
5.4.70.0130.05316.53
5.4.60.0130.06016.34
5.4.50.0130.05016.59
5.4.40.0230.05716.68
5.4.30.0170.04016.52
5.4.20.0130.04716.38
5.4.10.0070.05316.35
5.4.00.0230.06015.87
5.3.280.0170.07014.45
5.3.270.0070.05714.63
5.3.260.0000.06314.63
5.3.250.0100.04714.52
5.3.240.0170.06314.46
5.3.230.0100.05014.61
5.3.220.0170.05314.72
5.3.210.0070.07314.59
5.3.200.0130.04714.42
5.3.190.0130.04714.49
5.3.180.0000.05714.58
5.3.170.0100.07314.57
5.3.160.0030.05314.27
5.3.150.0170.05314.44
5.3.140.0300.05014.56
5.3.130.0070.05314.57
5.3.120.0100.06314.57
5.3.110.0130.05314.55
5.3.100.0230.05714.08
5.3.90.0000.07013.90
5.3.80.0100.05013.97
5.3.70.0130.06014.04
5.3.60.0130.07313.91
5.3.50.0030.05713.79
5.3.40.0070.05013.87
5.3.30.0130.04714.05
5.3.20.0130.06313.70
5.3.10.0170.05713.68
5.3.00.0200.05713.51
5.2.170.0030.04310.90
5.2.160.0100.03711.29
5.2.150.0100.05711.05
5.2.140.0070.06311.07
5.2.130.0100.06311.25
5.2.120.0000.05311.12
5.2.110.0130.04311.10
5.2.100.0130.04011.11
5.2.90.0130.05011.00
5.2.80.0170.04011.09
5.2.70.0100.05311.18
5.2.60.0130.05010.93
5.2.50.0030.04311.17
5.2.40.0170.03310.75
5.2.30.0130.04011.12
5.2.20.0070.05010.72
5.2.10.0130.03010.94
5.2.00.0070.04010.78
5.1.60.0070.0439.76
5.1.50.0000.0379.88
5.1.40.0100.03310.02
5.1.30.0130.03310.25
5.1.20.0070.03710.42
5.1.10.0070.0339.91
5.1.00.0070.04310.26
5.0.50.0000.0308.48
5.0.40.0030.0308.25
5.0.30.0170.0338.13
5.0.20.0000.0408.14
5.0.10.0100.0238.12
5.0.00.0030.0478.23
4.4.90.0000.0237.09
4.4.80.0100.0207.09
4.4.70.0030.0237.09
4.4.60.0070.0277.09
4.4.50.0000.0337.09
4.4.40.0030.0337.09
4.4.30.0070.0177.09
4.4.20.0030.0237.09
4.4.10.0000.0337.09
4.4.00.0030.0437.09
4.3.110.0100.0237.09
4.3.100.0070.0207.09
4.3.90.0100.0177.09
4.3.80.0000.0437.09
4.3.70.0030.0207.09
4.3.60.0030.0407.09
4.3.50.0070.0207.09
4.3.40.0030.0337.09
4.3.30.0000.0307.09
4.3.20.0000.0237.09
4.3.10.0030.0207.09
4.3.00.0030.0237.80

preferences:
136.5 ms | 1394 KiB | 7 Q