src/eMacros/Runtime/HTML/ParseString.php
public function apply(Scope $scope, GenericList $arguments) {
		if (count($arguments) == 0) throw new \BadFunctionCallException("ParseString: No parameters found.");
		$arr = [];
		parse_str($arguments[0]->evaluate($scope), $arr);
		return $arr;
	}
public function apply(Scope $scope, GenericList $arguments) {
		if (count($arguments) == 0) throw new \BadFunctionCallException("ParseString: No parameters found.");
		$arr = [];
		parse_str($arguments[0]->evaluate($scope), $arr);
		return $arr;
	}
public function apply ( Scope $ scope , GenericList $ arguments ) { if ( count ( $ arguments ) == 0 ) throw new \ BadFunctionCallException ( "ParseString: No parameters found." ) ; $ arr = [ ] ; parse_str ( $ arguments [ 0 ] -> evaluate ( $ scope ) , $ arr ) ; return $ arr ; }
Parses an input string
Usage: (HTML::parse-string "first=value&arr[]=foo+bar&arr[]=baz" _output)
Returns: NULL
(non-PHPdoc)
@see \eMacros\Applicable::apply()
Parses an input string Usage : ( HTML :: parse - string first = value&arr [] = foo + bar&arr [] = baz _output ) Returns : NULL ( non - PHPdoc )