When converting strings to numbers, tolerate empty strings.

Needed for ini_set to mirror Zend. Fixes #1950.
Implement a unit test to check for integral runtime options' acceptance of the empty string.

Fixes #1950.