fix ts build
forgot that hash uses ending 0
Merge branch 'phpng' of git.php.net:php-src into phpng

# By Dmitry Stogov
# Via Dmitry Stogov
* 'phpng' of git.php.net:php-src:
  fixed refcounting
  Fixed destructive assignment