3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface base { public function so(); } interface base2{ public function so(); } class test implements base, base2{ public function so(){}; }

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.0030.03318.87
5.4.250.0000.04018.98
5.4.240.0030.03319.14
5.4.230.0030.03319.31
5.4.220.0000.03719.30
5.4.210.0000.03719.14
5.4.200.0000.03719.06
5.4.190.0070.03718.93
5.4.180.0000.03719.30
5.4.170.0000.06019.04
5.4.160.0000.07719.05
5.4.150.0000.08318.83
5.4.140.0070.06316.36
5.4.130.0030.04716.50
5.4.120.0000.05316.41
5.4.110.0030.05016.50
5.4.100.0030.04716.33
5.4.90.0100.07016.68
5.4.80.0030.06316.29
5.4.70.0070.06716.44
5.4.60.0070.06016.17
5.4.50.0000.08016.15
5.4.40.0000.06016.53
5.4.30.0030.06316.25
5.4.20.0070.04716.16
5.4.10.0070.07316.55
5.4.00.0030.07015.94
5.3.280.0030.03314.59
5.3.270.0030.04714.76
5.3.260.0070.06014.66
5.3.250.0000.04714.61
5.3.240.0030.07714.58
5.3.230.0070.06014.50
5.3.220.0070.07714.58
5.3.210.0070.07014.62
5.3.200.0070.05014.47
5.3.190.0030.08314.64
5.3.180.0030.06314.65
5.3.170.0030.07714.65
5.3.160.0000.08014.72
5.3.150.0100.06314.49
5.3.140.0070.07714.71
5.3.130.0100.07014.57
5.3.120.0030.07714.53
5.3.110.0030.07314.45
5.3.100.0030.07014.04
5.3.90.0030.05714.00
5.3.80.0070.07013.93
5.3.70.0030.07013.94
5.3.60.0030.05713.94
5.3.50.0070.07313.83
5.3.40.0100.06314.07
5.3.30.0100.06714.00
5.3.20.0070.05713.70
5.3.10.0070.06013.66
5.3.00.0100.03313.55

preferences:
170.52 ms | 1394 KiB | 7 Q