3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Promise { public static function foobar() { print "OK"; } } Promise::foobar();

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.1.20.0230.06040.38
7.1.10.0130.06722.05
7.1.00.0100.06322.38
7.0.160.0200.07321.94
7.0.150.0130.07721.88
7.0.140.0170.06321.79
7.0.130.0100.08321.82
7.0.120.0070.06321.91
7.0.110.0030.08021.80
7.0.100.0230.05721.89
7.0.90.2000.06320.09
7.0.80.0230.06320.03
7.0.70.2100.07320.11
7.0.60.0030.07721.93
7.0.50.1570.05320.12
7.0.40.0230.07020.13
7.0.30.0170.05720.02
7.0.20.0100.07321.94
7.0.10.1870.06020.07
7.0.00.0230.06721.93

preferences:
155.06 ms | 1167 KiB | 7 Q