3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(levenshtein(strtolower('How appropriate! You fight like a cow!'), strtolower(''you fight like a cow')));

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.0330.08020.22
7.0.10.0030.04320.12
7.0.00.0070.04020.22
5.6.170.0270.05020.71
5.6.160.0070.08320.54
5.6.150.0030.08718.18
5.6.140.0200.07318.29
5.6.130.0070.08718.14
5.6.120.0070.08321.00
5.6.110.0070.08721.14
5.6.100.0000.08721.00
5.6.90.0070.08020.92
5.6.80.0170.06020.40
5.5.310.0330.05720.34
5.5.300.0000.04317.98
5.5.290.0170.07717.98
5.5.280.0130.07320.79
5.5.270.0200.07020.61
5.5.260.0130.06020.84
5.5.250.0100.03320.57
5.5.240.3300.03320.05

preferences:
143.11 ms | 1386 KiB | 7 Q