3v4l.org

run code in 300+ PHP versions simultaneously
<?php //::('\xF0\x9F\x98\x81') => '=?utf-8?Q?=F0=9F=91=8C?=' f($x) { return preg_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.0030.08720.11
5.6.160.0030.04320.48
5.6.150.0000.05718.20
5.6.140.0000.04718.19
5.6.130.0070.07318.19
5.6.120.0070.07720.95
5.6.110.0100.07320.98
5.6.100.0130.06020.99
5.6.90.0030.04321.10
5.6.80.0000.04320.36
5.5.300.0100.04317.95
5.5.290.0100.03718.08
5.5.280.0130.08020.77
5.5.270.0130.06020.75
5.5.260.0030.09020.79
5.5.250.0100.06320.71
5.5.240.0300.07320.12

preferences:
141.73 ms | 1394 KiB | 7 Q