3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface superbase { public static function ball(); public static function foo(); } abstract class base implements superbase { public static function ball(); public static function foo(){ echo 'foo'; } } class child extends base{ public static function ball(){ echo 'baseball'; } } child::foo(); child::ball();

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.5.30.0030.05017.21
5.5.20.0100.07317.30
5.5.10.0030.06717.22
5.5.00.0070.06017.17
5.4.190.0030.06319.10
5.4.180.0100.07319.25
5.4.170.0070.07719.12
5.4.160.0100.06319.01
5.4.150.0000.06018.96
5.4.140.0070.05016.29
5.4.130.0070.07016.39
5.4.120.0100.06716.51
5.4.110.0070.04316.49
5.4.100.0130.04316.39
5.4.90.0070.07316.45
5.4.80.0100.07016.35
5.4.70.0030.07316.41
5.4.60.0070.03716.36
5.4.50.0030.05316.21
5.4.40.0130.07016.50
5.4.30.0100.06716.40
5.4.20.0070.04316.49
5.4.10.0170.06716.27
5.4.00.0030.07715.83
5.3.270.0070.07314.64
5.3.260.0030.04314.64
5.3.250.0000.06314.56
5.3.240.0030.07314.61
5.3.230.0130.07014.56
5.3.220.0100.03314.61
5.3.210.0030.03714.59
5.3.200.0070.06314.58
5.3.190.0100.06314.63
5.3.180.0100.04714.66
5.3.170.0000.04714.59
5.3.160.0100.06714.55
5.3.150.0030.08014.52
5.3.140.0130.07014.64
5.3.130.0100.07314.53
5.3.120.0070.06014.64
5.3.110.0100.04014.59
5.3.100.0030.07714.07
5.3.90.0100.07014.06
5.3.80.0000.04314.23
5.3.70.0030.07314.02
5.3.60.0070.08014.21
5.3.50.0100.06714.01
5.3.40.0030.04714.00
5.3.30.0030.05313.96
5.3.20.0000.04013.59
5.3.10.0100.06713.68
5.3.00.0100.06013.48

preferences:
143.64 ms | 1394 KiB | 7 Q