3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 'hi'; $y = 'hihe'; var_dump(xdiff_string_diff($, $y));

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.07320.09
7.0.00.0100.08020.16
5.6.160.0030.08720.47
5.6.150.0030.04318.17
5.6.140.0070.03718.23
5.6.130.0100.05018.17
5.6.120.0130.07021.11
5.6.110.0070.08020.99
5.6.100.0130.08021.10
5.6.90.0070.04320.97
5.6.80.0000.04020.50
5.5.300.0070.06718.01
5.5.290.0070.05317.94
5.5.280.0030.06020.80
5.5.270.0100.03720.72
5.5.260.0100.04320.66
5.5.250.0230.06320.79
5.5.240.0070.03320.11

preferences:
142.8 ms | 1394 KiB | 7 Q