3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(urlencode('Денис Сергеевич')); var_dump(htmlspecialchars('%D0%94%D0%B5%D0%BD%D0%B8%D1%81+%D0%A1%D0%B5%D1%80%D0%B3%D0%B5%D0%B5%D0%B2%D0%B8%D1%87', ENT_COMPAT, 'UTF-8'); var_dump(htmlspecialchars('%C4%E5%ED%E8%F1+%D1%E5%F0%E3%E5%E5%E2%E8%F7', ENT_COMPAT, 'UTF-8'))

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.0130.07720.14
5.6.160.0100.05320.55
5.6.150.0130.07718.23
5.6.140.0030.06018.19
5.6.130.0030.04318.18
5.6.120.0070.03721.12
5.6.110.0000.04320.98
5.6.100.0100.08021.02
5.6.90.0170.07321.10
5.6.80.0100.05720.52
5.5.300.0070.05017.95
5.5.290.0000.04317.95
5.5.280.0070.08020.84
5.5.270.0100.07720.64
5.5.260.0070.08720.86
5.5.250.0100.07320.61
5.5.240.3200.03720.06

preferences:
141.56 ms | 1394 KiB | 7 Q