3v4l.org

run code in 300+ PHP versions simultaneously
<?php $encode; = mb_detect_encoding ("AA0092-300g", "JIS, eucjp-win, sjis-win,UTF-8,ASCII,ISO-8859-1,ISO-8859-2,ISO-8859-3,ISO-8859-4,ISO-8859-5,ISO-8859-6,ISO-8859-7,ISO-8859-8,ISO-8859-9,ISO-8859-10,ISO-8859-13,ISO-8859-14,ISO-8859-15,ISO-8859-16,Windows-1251,Windows-1252,Windows-1254" ); echo $encode;

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.20.0200.04320.20
7.0.10.0070.07720.16
7.0.00.0000.04720.22
5.6.170.0300.07720.62
5.6.160.0170.07320.50
5.6.150.0100.07318.29
5.6.140.0030.07018.14
5.6.130.0000.08718.17
5.6.120.0030.08721.11
5.6.110.0100.07321.00
5.6.100.0030.08320.88
5.6.90.0130.08021.10
5.6.80.0000.04320.50
5.5.310.0300.08320.29
5.5.300.0170.03317.98
5.5.290.0100.03317.98
5.5.280.0100.03320.84
5.5.270.0000.04320.67
5.5.260.0030.08320.67
5.5.250.0230.06720.61
5.5.240.0000.07320.25

preferences:
136.68 ms | 1398 KiB | 7 Q