3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f($a = ONE + self::THREE) {} static $a = 1 + 1, $b = ; const a = 1 + 1;

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.6.150.0030.04318.21
5.6.140.0130.07318.14
5.6.130.0130.08018.21
5.6.120.0200.04020.96
5.6.110.0100.08021.00
5.6.100.0100.08320.98
5.6.90.0100.08320.88
5.6.80.0030.06320.41
5.5.300.0070.04317.98
5.5.290.0030.04718.09
5.5.280.0070.07320.79
5.5.270.0100.04720.76
5.5.260.0070.05320.64
5.5.250.0030.04020.64
5.5.240.0130.03020.11

preferences:
138.92 ms | 1394 KiB | 7 Q