added testcase from bug #65371
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  added testcase from bug #65371
fixed EOL in the test
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed EOL in the test