main: debug input vars
debug input vars added logs
cache memcache bugfix: no method getallkeys() for old extension
debug() added 3rd param max_items and set its default to 500
debug cleanup
debug cleanup