We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcf2eba commit 264aaf1Copy full SHA for 264aaf1
components/http_foundation.rst
@@ -272,6 +272,14 @@ this complexity and defines some methods for the most common tasks::
272
HeaderUtils::unquote('"foo \"bar\""');
273
// => 'foo "bar"'
274
275
+ // Parses a query string but maintains dots (PHP parse_str() replaces '.' by '_')
276
+ HeaderUtils::parseQuery('foo[bar.baz]=qux');
277
+ // => ['foo' => ['bar.baz' => 'qux']]
278
+
279
+.. versionadded:: 5.2
280
281
+ The ``parseQuery()`` method was introduced in Symfony 5.2.
282
283
Accessing ``Accept-*`` Headers Data
284
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
285
0 commit comments