fix return value
Merge branch 'PHP-5.5'

* PHP-5.5:
  fix return value