revert 37fa3e2, gc_time is not dependant on cleaned up dir

add function for readability
move gc lookup to function, add php56