Checking array exists before working on it
Updated tests for php ini feature
Added tests for PHP ini directives feature