ini_set actually returns a Variant.

PHP's documentation states that ini_set will return FALSE on failure.
Normalise the input and return value for open_basedir.
Slightly more elaborate tests, this set specifically tests for the behaviour of open_basedir.
Follow ini_set's behaviour to return FALSE when the user is not allowed to change the value.