3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump([ (function() { return 4 * 5; })(), (function() { retyrb 6 / 4; })() ]);

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.10.0100.05320.13
7.0.00.0100.03720.23
5.6.160.0070.04320.57
5.6.150.0100.05018.22
5.6.140.0130.06018.15
5.6.130.0030.04018.19
5.6.120.0100.07321.02
5.6.110.0170.07721.11
5.6.100.0070.08021.00
5.6.90.0070.05720.98
5.6.80.0100.04320.41
5.5.300.0100.08017.95
5.5.290.0100.07717.92
5.5.280.0130.07320.84
5.5.270.0030.08720.88
5.5.260.0100.08320.76
5.5.250.0000.09020.49
5.5.240.0200.06320.12

preferences:
141.49 ms | 1386 KiB | 7 Q