Fork of tedivm/Stash compatible with PHP 5.2+