a realpath cache key can be int or float, catching this
check for zlib headers as well as lib for mysqlnd
array_pop/array_shift optimization