3v4l.org

run code in 300+ PHP versions simultaneously
<?php public function foo($a, $b, $unused, $unused) { } foo( 2, 'hello' , 'world' );

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.00.0070.05320.16
5.6.160.0070.04720.56
5.6.150.0100.06318.27
5.6.140.0200.07018.16
5.6.130.0070.07318.15
5.6.120.0070.08721.00
5.6.110.0170.08021.02
5.6.100.0100.08321.08
5.6.90.0100.04021.03
5.6.80.0030.03720.38
5.5.300.0030.04318.04
5.5.290.0100.08017.95
5.5.280.0100.08020.80
5.5.270.0130.07720.88
5.5.260.0100.07720.97
5.5.250.0100.07720.75
5.5.240.0270.02320.15

preferences:
141.34 ms | 1386 KiB | 7 Q