3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $Key = "xyz123"; $MemcacheDBKey = "cachevalue"; echo "Tried to increment with non-number ($Key) for cache ".$MemcacheDBKey; echo "\n"; echo "Tried to increment with non-number (".$Key.") for cache ".$MemcacheDBKey; echo "\n"; echo "Tried to increment with non-number ({$Key}) for cache ".$MemcacheDBKey; echo "\n"; echo 'Tried to increment with non-number ('.$Key.') for cache '.$MemcacheDBKey; echo "\n\n"; echo "Bad transaction key ($Key) for cache ".$MemcacheDBKey; echo "\n"; echo "Tried to delete non-existent row ($Row) for cache ".$MemcacheDBKey;
Output for 5.0.4 - 7.1.0
Tried to increment with non-number (xyz123) for cache cachevalue Tried to increment with non-number (xyz123) for cache cachevalue Tried to increment with non-number (xyz123) for cache cachevalue Tried to increment with non-number (xyz123) for cache cachevalue Bad transaction key (xyz123) for cache cachevalue Notice: Undefined variable: Row in /in/W394U on line 15 Tried to delete non-existent row () for cache cachevalue
Output for 4.3.0 - 5.0.3
Tried to increment with non-number (xyz123) for cache cachevalue Tried to increment with non-number (xyz123) for cache cachevalue Tried to increment with non-number (xyz123) for cache cachevalue Tried to increment with non-number (xyz123) for cache cachevalue Bad transaction key (xyz123) for cache cachevalue Notice: Undefined variable: Row in /in/W394U on line 15 Tried to delete non-existent row () for cache cachevalue