public static function unregister($protocol)
  {
    $wrappers = stream_get_wrappers();
    if (!in_array($protocol, $wrappers)) {
      throw new Wrapper_Exception(
        "Protocol '$protocol' has not been registered yet"
      );
    }

    return stream_wrapper_unregister($protocol);
  }
public static function unregister($protocol)
  {
    $wrappers = stream_get_wrappers();
    if (!in_array($protocol, $wrappers)) {
      throw new Wrapper_Exception(
        "Protocol '$protocol' has not been registered yet"
      );
    }

    return stream_wrapper_unregister($protocol);
  }
public static function unregister ( $ protocol ) { $ wrappers = stream_get_wrappers ( ) ; if ( ! in_array ( $ protocol , $ wrappers ) ) { throw new Wrapper_Exception ( "Protocol '$protocol' has not been registered yet" ) ; } return stream_wrapper_unregister ( $ protocol ) ; }
Unregister stream wrapper

@param string $protocol Protocol name

@throws Wrapper_Exception
@return boolean
Unregister stream wrapper