3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface foo {} class x implements foo {}} var_dump( (new x) instanceof 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)
7.0.10.0130.06320.06
7.0.00.0070.08020.14
5.6.160.0030.04020.44
5.6.150.0000.04018.23
5.6.140.0070.08018.16
5.6.130.0030.06018.15
5.6.120.0070.04021.11
5.6.110.0070.07321.09
5.6.100.0000.04321.12
5.6.90.0030.08720.97
5.6.80.0070.08320.39
5.5.300.0130.07317.97
5.5.290.0130.07718.05
5.5.280.0070.04320.84
5.5.270.0070.04020.79
5.5.260.0030.05020.74
5.5.250.0130.07720.68
5.5.240.0100.04320.27

preferences:
143.04 ms | 1394 KiB | 7 Q