fixed several long vs zend_long casts
Fixed return operand type (Use IS_TMP_VAR instead of IS_VAR in the same way as it was before AST patch)
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:
  fixed several long vs zend_long casts