3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait T1 { private function foo() { } private function foo1 { } } trait T2 { use T1; } class A { use T2; public function f() { $this->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)
5.4.390.0300.04018.56
5.4.380.0230.06318.50
5.4.370.0200.05018.83
5.4.360.0100.06018.79
5.4.350.0330.06018.81
5.4.340.0230.05018.55
5.4.320.0200.05018.78
5.4.310.0130.06018.70
5.4.300.0100.06018.44
5.4.290.0130.05318.62
5.4.280.0230.05018.46
5.4.270.0170.05718.78
5.4.260.0300.05318.71
5.4.250.0270.06318.77
5.4.240.0230.06718.57
5.4.230.0130.06018.75
5.4.220.0200.05318.77
5.4.210.0100.06318.62
5.4.200.0170.05016.69
5.4.190.0170.05018.73
5.4.180.0270.04318.60
5.4.170.0170.06318.68
5.4.160.0270.04018.69
5.4.150.0230.05718.78
5.4.140.0230.04716.33
5.4.130.0230.04016.32
5.4.120.0130.05316.26
5.4.110.0130.05716.29
5.4.100.0300.06016.33
5.4.90.0170.07716.31
5.4.80.0170.05716.40
5.4.70.0130.05316.19
5.4.60.0200.05316.40
5.4.50.0230.05016.16
5.4.40.0170.05016.24
5.4.30.0100.05716.15
5.4.20.0200.04716.24
5.4.10.0270.04016.39
5.4.00.0170.05715.78
5.3.290.0270.05014.74
5.3.280.0130.05314.58
5.3.270.0200.05714.64
5.3.260.0030.06714.58
5.3.250.0100.05714.60
5.3.240.0170.05314.70
5.3.230.0130.05314.55
5.3.220.0170.05014.66
5.3.210.0070.06314.56
5.3.200.0130.05314.55
5.3.190.0130.05314.59
5.3.180.0230.05014.61
5.3.170.0170.06014.56
5.3.160.0130.06014.57
5.3.150.0230.04714.66
5.3.140.0200.06314.48
5.3.130.0170.05314.60
5.3.120.0200.05314.48
5.3.110.0200.05014.63
5.3.100.0100.05713.97
5.3.90.0170.05014.07
5.3.80.0170.05013.91
5.3.70.0130.05314.00
5.3.60.0070.05713.91
5.3.50.0230.04313.93
5.3.40.0230.04313.91
5.3.30.0170.04713.91
5.3.20.0170.05013.66
5.3.10.0030.06313.73
5.3.00.0130.05313.55
5.2.170.0000.05311.12
5.2.160.0070.05011.10
5.2.150.0070.04711.28
5.2.140.0130.04711.20
5.2.130.0200.03711.07
5.2.120.0200.03311.16
5.2.110.0130.04011.14
5.2.100.0030.04711.03
5.2.90.0100.04711.13
5.2.80.0130.04311.08
5.2.70.0130.04011.13
5.2.60.0130.04710.98
5.2.50.0170.03711.05
5.2.40.0200.03310.96
5.2.30.0230.03310.88
5.2.20.0230.04010.93
5.2.10.0170.04010.91
5.2.00.0100.04010.87
5.1.60.0100.03310.01
5.1.50.0100.03310.03
5.1.40.0130.0439.95
5.1.30.0070.04010.34
5.1.20.0100.03310.41
5.1.10.0100.03710.12
5.1.00.0200.02710.04
5.0.50.0070.0308.64
5.0.40.0000.0438.48
5.0.30.0170.0478.34
5.0.20.0070.0378.37
5.0.10.0070.0278.35
5.0.00.0100.0438.17
4.4.90.0100.0175.88
4.4.80.0030.0235.90
4.4.70.0030.0235.85
4.4.60.0030.0235.90
4.4.50.0030.0235.88
4.4.40.0100.0305.92
4.4.30.0100.0175.84
4.4.20.0030.0235.98
4.4.10.0100.0175.93
4.4.00.0130.0275.97
4.3.110.0130.0235.85
4.3.100.0130.0175.82
4.3.90.0030.0235.80
4.3.80.0100.0305.78
4.3.70.0100.0175.80
4.3.60.0030.0235.89
4.3.50.0030.0235.78
4.3.40.0100.0305.73
4.3.30.0030.0234.55
4.3.20.0000.0274.56
4.3.10.0070.0204.63
4.3.00.0030.02312.54

preferences:
146.22 ms | 1394 KiB | 7 Q