- fix regression bug24155.phpt and bug39366.phpt
Merge branch 'PHP-5.5'

* PHP-5.5:
  - fix regression bug24155.phpt and bug39366.phpt