3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait Baz{ abstract private function shit(); function noooo(){ echo $this->shit(); } } class A{ use Baz; private function shit(){ return "A"; } } class B extends A{ use Baz; private function shit(){ return "B"; } } (new A)->noooo(); (new B)->noooo();

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)
7.0.40.0170.06320.20
7.0.30.0130.06020.30
7.0.20.0100.06320.29
7.0.10.0070.07020.04
7.0.00.0100.06720.07
5.6.190.0130.06020.44
5.6.180.0230.04720.77
5.6.170.0130.06020.53
5.6.160.0100.06020.62
5.6.150.0070.07020.30
5.6.140.0200.05720.45
5.6.130.0270.05320.27
5.6.120.0070.06320.44
5.6.110.0130.05320.43
5.6.100.0130.06020.57
5.6.90.0530.07020.28
5.6.80.0300.07019.78
5.6.70.0430.05319.55
5.6.60.0400.05319.71
5.6.50.0370.05019.79
5.6.40.0230.06319.95
5.6.30.0330.07719.63
5.6.20.0300.06019.77
5.6.10.0300.06019.66
5.6.00.0130.06019.65
5.5.330.0200.05020.27
5.5.320.0170.06020.25
5.5.310.0170.05720.37
5.5.300.0230.05020.38
5.5.290.0100.06320.16
5.5.280.0070.06320.17
5.5.270.0030.06320.20
5.5.260.0270.06320.15
5.5.250.0370.05019.83
5.5.240.0370.05719.50
5.5.230.0230.06319.54
5.5.220.0470.05019.59
5.5.210.0400.05719.62
5.5.200.0400.05319.56
5.5.190.0430.04719.52
5.5.180.0370.06319.45
5.5.160.0370.04719.74
5.5.150.0370.06319.51
5.5.140.0430.06019.56
5.5.130.0430.05019.52
5.5.120.0370.05019.60
5.5.110.0270.06019.35
5.5.100.0300.06319.36
5.5.90.0300.05719.46
5.5.80.0370.05019.33
5.5.70.0370.05019.45
5.5.60.0230.06019.46
5.5.50.0370.04719.25
5.5.40.0300.05719.48
5.5.30.0400.06719.53
5.5.20.0300.05319.53
5.5.10.0230.06019.46
5.5.00.0270.06019.45

preferences:
47.12 ms | 723 KiB | 5 Q