Fixed refcounting
Avoid in-place conversion
Use new zend_hash API
Reference counter in phpng may have a bit different meaning and must not be the same