public static function getRestartSettings()
    {
        $envArgs = explode('|', (string) getenv(self::RESTART_SETTINGS));

        if (count($envArgs) !== 6
            || (!self::$inRestart && php_ini_loaded_file() !== $envArgs[0])) {
            return;
        }

        return array(
            'tmpIni' => $envArgs[0],
            'scannedInis' => (bool) $envArgs[1],
            'scanDir' => '*' === $envArgs[2] ? false : $envArgs[2],
            'phprc' => '*' === $envArgs[3] ? false : $envArgs[3],
            'inis' => explode(PATH_SEPARATOR, $envArgs[4]),
            'skipped' => $envArgs[5],
        );
    }
public static function getRestartSettings()
    {
        $envArgs = explode('|', (string) getenv(self::RESTART_SETTINGS));

        if (count($envArgs) !== 6
            || (!self::$inRestart && php_ini_loaded_file() !== $envArgs[0])) {
            return;
        }

        return array(
            'tmpIni' => $envArgs[0],
            'scannedInis' => (bool) $envArgs[1],
            'scanDir' => '*' === $envArgs[2] ? false : $envArgs[2],
            'phprc' => '*' === $envArgs[3] ? false : $envArgs[3],
            'inis' => explode(PATH_SEPARATOR, $envArgs[4]),
            'skipped' => $envArgs[5],
        );
    }
public static function getRestartSettings ( ) { $ envArgs = explode ( '|' , ( string ) getenv ( self :: RESTART_SETTINGS ) ) ; if ( count ( $ envArgs ) !== 6 || ( ! self :: $ inRestart && php_ini_loaded_file ( ) !== $ envArgs [ 0 ] ) ) { return ; } return array ( 'tmpIni' => $ envArgs [ 0 ] , 'scannedInis' => ( bool ) $ envArgs [ 1 ] , 'scanDir' => '*' === $ envArgs [ 2 ] ? false : $ envArgs [ 2 ] , 'phprc' => '*' === $ envArgs [ 3 ] ? false : $ envArgs [ 3 ] , 'inis' => explode ( PATH_SEPARATOR , $ envArgs [ 4 ] ) , 'skipped' => $ envArgs [ 5 ] , ) ; }
Returns an array of restart settings or null

Settings will be available if the current process was restarted, or
called with the settings from an existing restart.

@return array|null
Returns an array of restart settings or null