3v4l.org

run code in 300+ PHP versions simultaneously
<?php function a() { yield 1; return 2; } $a = a(); $a->next() var_dump($a->getReturn());

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.04320.23
5.6.160.0070.08020.45
5.6.150.0070.06718.14
5.6.140.0070.03318.27
5.6.130.0000.04718.17
5.6.120.0100.08321.02
5.6.110.0100.08721.13
5.6.100.0170.06720.97
5.6.90.0130.07721.00
5.6.80.0070.07320.53
5.5.300.0130.07318.01
5.5.290.0070.05317.97
5.5.280.0030.04720.75
5.5.270.0030.06020.86
5.5.260.0030.07720.87
5.5.250.0100.06320.54
5.5.240.3730.04320.28

preferences:
138.23 ms | 1394 KiB | 7 Q