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.0270.07320.13
7.0.10.0000.04720.43
7.0.00.0030.04320.08
5.6.170.0370.06320.45
5.6.160.0130.03320.44
5.6.150.0130.06718.24
5.6.140.0030.08318.29
5.6.130.0100.07718.28
5.6.120.0100.08021.00
5.6.110.0130.08021.11
5.6.100.0100.07720.97
5.6.90.0070.07721.07
5.6.80.0270.06320.51
5.5.310.0330.07720.19
5.5.300.0000.04017.98
5.5.290.0100.08017.95
5.5.280.0130.07720.76
5.5.270.0130.05020.86
5.5.260.0100.06720.64
5.5.250.0000.04320.70
5.5.240.4270.03720.06

preferences:
135.43 ms | 1394 KiB | 7 Q