The INI section gets converted into -dname=value and is also used for the skipif, so the skipif exits with a fatal error, and therefore passes, and the test is executed which in again exists with a fatal error and fails.
The option cannot be set at runtime no, only by php.ini and .htaccess