traits/file_resources.php
final protected function fscanf($format, array &$params = array())
	{
		if (empty($params)) {
			return fscanf($this->fhandle, $format);
		}
		array_shift($params, $this->fhandle, $format);
		$results = call_user_func_array('fscanf', $params);
		array_splice($params, 2);
		return $results;
	}
final protected function fscanf($format, array &$params = array())
	{
		if (empty($params)) {
			return fscanf($this->fhandle, $format);
		}
		array_shift($params, $this->fhandle, $format);
		$results = call_user_func_array('fscanf', $params);
		array_splice($params, 2);
		return $results;
	}
final protected function fscanf ( $ format , array & $ params = array ( ) ) { if ( empty ( $ params ) ) { return fscanf ( $ this -> fhandle , $ format ) ; } array_shift ( $ params , $ this -> fhandle , $ format ) ; $ results = call_user_func_array ( 'fscanf' , $ params ) ; array_splice ( $ params , 2 ) ; return $ results ; }
Parses input from a file according to a format

@param  string $format     [description]
@param  array  $params     [description]
@return mixed
@see https://php.net/manual/en/function.fscanf.php
@todo Test and make work with additional params beyond $format
Parses input from a file according to a format