public function stream_open($path, $mode, $options, &$opened_path)
	{
		$this->currentString = &StringController::getRef(str_replace('string://', '', $path));

		if ($this->currentString)
		{
			$this->len = strlen($this->currentString);
			$this->pos = 0;
			$this->stat = $this->url_stat($path, 0);

			return true;
		}
		else
		{
			return false;
		}
	}
public function stream_open($path, $mode, $options, &$opened_path)
	{
		$this->currentString = &StringController::getRef(str_replace('string://', '', $path));

		if ($this->currentString)
		{
			$this->len = strlen($this->currentString);
			$this->pos = 0;
			$this->stat = $this->url_stat($path, 0);

			return true;
		}
		else
		{
			return false;
		}
	}
public function stream_open ( $ path , $ mode , $ options , & $ opened_path ) { $ this -> currentString = & StringController :: getRef ( str_replace ( 'string://' , '' , $ path ) ) ; if ( $ this -> currentString ) { $ this -> len = strlen ( $ this -> currentString ) ; $ this -> pos = 0 ; $ this -> stat = $ this -> url_stat ( $ path , 0 ) ; return true ; } else { return false ; } }
Method to open a file or URL.

@param   string   $path          The stream path.
@param   string   $mode          Not used.
@param   integer  $options       Not used.
@param   string   &$opened_path  Not used.

@return  boolean

@since   1.0
Method to open a file or URL .