3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Key = "xyz123"; $MemcacheDBKey = "Some value, stripped class and this reference"; echo "Tried to increment with non-number ($Key) for cache ".$MemcacheDBKey; echo "Tried to increment with non-number (".$Key.") for cache ".$MemcacheDBKey; echo "Tried to increment with non-number ({$Key}) for cache ".$MemcacheDBKey; echo 'Tried to increment with non-number ('.$Key.') for cache '.$MemcacheDBKey

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)
5.4.250.0200.06318.90
5.4.240.0130.05318.90
5.4.230.0170.06319.04
5.4.220.0130.07318.86
5.4.210.0300.04018.88
5.4.200.0100.07718.90
5.4.190.0070.05318.99
5.4.180.0130.04718.79
5.4.170.0070.08018.81
5.4.160.0070.07018.78
5.4.150.0270.06019.00
5.4.140.0130.05716.15
5.4.130.0070.04716.23
5.4.120.0100.04316.40
5.4.110.0100.04716.49
5.4.100.0170.04716.35
5.4.90.0200.04716.52
5.4.80.0070.05316.42
5.4.70.0030.05716.29
5.4.60.0030.05016.19
5.4.50.0030.05716.47
5.4.40.0100.05016.36
5.4.30.0100.05316.30
5.4.20.0200.06016.38
5.4.10.0270.04016.32
5.4.00.0100.05015.59
5.3.280.0130.05714.52
5.3.270.0070.05314.62
5.3.260.0100.05314.62
5.3.250.0070.06014.46
5.3.240.0130.05014.63
5.3.230.0100.04714.62
5.3.220.0100.04714.66
5.3.210.0130.05014.58
5.3.200.0100.05314.72
5.3.190.0200.04714.58
5.3.180.0200.03714.61
5.3.170.0100.04314.61
5.3.160.0070.05314.58
5.3.150.0070.07314.58
5.3.140.0100.05014.58
5.3.130.0100.06014.40
5.3.120.0100.07314.64
5.3.110.0070.08014.56
5.3.100.0030.06013.81
5.3.90.0200.05314.04
5.3.80.0170.04014.04
5.3.70.0070.05313.94
5.3.60.0100.05713.79
5.3.50.0130.05013.85
5.3.40.0070.05013.95
5.3.30.0070.05713.83
5.3.20.0070.05013.63
5.3.10.0130.06713.66
5.3.00.0130.04313.59

preferences:
142.49 ms | 1394 KiB | 7 Q