substr_compare(): Allow zero length comparison

Treat zero length comparison as always equal.
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  substr_compare(): Allow zero length comparison
Merge branch 'PHP-5.6'

* PHP-5.6:
  substr_compare(): Allow zero length comparison