3v4l.org

run code in 300+ PHP versions simultaneously
<?php //::('\xF0\x9F\x98\x81') => '=?utf-8?Q?=F0=9F=91=8C?=' f($x) { return tr_replace('\x', '=', $x); } echo f('\xF0\x9F\x98\x81')

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.0100.04720.23
5.6.160.0000.05320.44
5.6.150.0130.05018.29
5.6.140.0070.07318.16
5.6.130.0070.07318.16
5.6.120.0100.06721.14
5.6.110.0200.08320.98
5.6.100.0100.07721.05
5.6.90.0000.05021.12
5.6.80.0030.03720.38
5.5.300.0030.06317.95
5.5.290.0100.04018.04
5.5.280.0070.06720.77
5.5.270.0100.08020.95
5.5.260.0130.08020.77
5.5.250.0030.08320.61
5.5.240.0200.05020.35

preferences:
149.07 ms | 1398 KiB | 7 Q