3v4l.org

run code in 300+ PHP versions simultaneously
<?php $c = gzdeflate('Compresse moi', 9); echo $c

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.0070.08320.18
7.0.00.0030.06020.00
5.6.160.0100.07320.52
5.6.150.0070.07718.14
5.6.140.0100.07718.18
5.6.130.0070.08018.24
5.6.120.0070.07720.97
5.6.110.0130.06721.00
5.6.100.0030.08721.11
5.6.90.0170.05720.96
5.6.80.0070.08020.40
5.5.300.0070.05317.96
5.5.290.0000.05317.98
5.5.280.0070.08320.76
5.5.270.0030.04320.75
5.5.260.0070.08020.72
5.5.250.0000.05020.57
5.5.240.0070.03720.15

preferences:
141.07 ms | 1394 KiB | 7 Q