3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Test1 { function test(); } interface Test2 extends Test1 { function test2(); } interface Test3 extends Test1 { function test3(); } class Foo implements Test2, Test3 { function test(echo 1;) {} function test2() {} function test3() {} } $class = new Foo(); $class->test();

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.140.0100.06316.39
5.4.130.0130.06716.39
5.4.120.0170.05716.29
5.4.110.0000.08316.44
5.4.100.0070.05316.50
5.4.90.0130.06716.50
5.4.80.0130.07016.43
5.4.70.0000.07716.31
5.4.60.0030.07316.26
5.4.50.0030.05016.36
5.4.40.0000.05316.28
5.4.30.0100.06016.39
5.4.20.0100.06016.34
5.4.10.0100.07316.63
5.4.00.0100.07015.79
5.3.240.0070.06314.77
5.3.230.0130.06714.78
5.3.220.0100.06314.59
5.3.210.0000.05314.58
5.3.200.0070.06314.58
5.3.190.0030.06014.63
5.3.180.0030.06714.59
5.3.170.0130.05314.46
5.3.160.0100.05314.72
5.3.150.0130.07014.61
5.3.140.0100.06714.61
5.3.130.0070.08014.55
5.3.120.0000.07314.61
5.3.110.0070.08014.56
5.3.100.0070.07314.12
5.3.90.0070.05014.17
5.3.80.0170.06314.05
5.3.70.0030.04313.92
5.3.60.0200.06314.16
5.3.50.0030.07313.90
5.3.40.0030.05713.90
5.3.30.0070.06313.98
5.3.20.0000.08013.69
5.3.10.0100.06713.81
5.3.00.0000.05313.81

preferences:
141.47 ms | 1386 KiB | 7 Q