fix serialize INF and NAN
fix for atanh(true/1)
fix is_resource
fix putenv
phpt tests cleanup