3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public functoion bar() { echo 123; } } $f = new foo(); $func = array($f, 'bar'); call_user_func($func);

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.90.0000.04016.30
5.4.80.0000.07316.48
5.4.70.0070.07016.38
5.4.60.0030.06716.28
5.4.50.0070.04716.47
5.4.40.0030.04016.47
5.4.30.0030.03716.39
5.4.20.0030.07016.36
5.4.10.0100.06016.26
5.4.00.0100.05315.73
5.3.190.0030.06714.57
5.3.180.0100.06014.73
5.3.170.0030.06314.58
5.3.160.0030.08014.56
5.3.150.0100.06714.45
5.3.140.0000.05714.61
5.3.130.0100.03314.60
5.3.120.0100.06714.57
5.3.110.0100.03714.55
5.3.100.0130.07014.19
5.3.90.0030.03714.02
5.3.80.0000.05313.96
5.3.70.0070.04314.05
5.3.60.0000.04014.00
5.3.50.0000.05013.93
5.3.40.0030.04013.86
5.3.30.0030.04713.87
5.3.20.0030.03713.68
5.3.10.0030.03713.66
5.3.00.0030.04013.70

preferences:
141.27 ms | 1400 KiB | 7 Q