3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Object {} class Foo implements Object {}

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.2.110.0190.01314.57
7.2.100.0200.00314.35
7.2.90.0200.00014.32
7.2.80.0290.00414.60
7.2.70.0200.00714.77
7.2.60.0230.00714.79
7.2.50.0200.00814.66
7.2.40.0170.01014.60
7.2.30.0180.00714.98
7.2.20.0940.01014.86
7.2.10.0160.01014.49
7.2.00.0200.00714.79
7.1.230.0200.00313.81
7.1.220.0250.01213.62
7.1.210.0190.00613.76
7.1.200.0160.00913.58
7.1.190.0200.01013.95
7.1.180.0310.00613.65
7.1.170.0260.00313.89
7.1.160.0220.00313.70
7.1.150.0170.00713.68
7.1.140.0230.00313.80
7.1.130.0160.00613.70
7.1.120.0230.00313.82
7.1.110.0210.00313.87
7.1.100.0190.00613.78
7.1.90.0240.00313.61
7.1.80.0140.01013.49
7.1.70.0200.00313.79
7.1.60.0420.01031.80
7.1.50.0350.01031.63
7.1.40.0300.01331.71
7.1.30.0550.00731.87
7.1.20.0350.01031.75
7.1.10.0290.00313.68
7.1.00.0170.00713.61
5.6.380.0060.00614.27

preferences:
134.92 ms | 1432 KiB | 7 Q