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 0c57c73 commit 60d3a1bCopy full SHA for 60d3a1b
components/http_foundation.rst
@@ -331,11 +331,11 @@ analysis purposes. Use the ``anonymize()`` method from the
331
use Symfony\Component\HttpFoundation\IpUtils;
332
333
$ipv4 = '123.234.235.236';
334
- $anonymousIpv4 = IPUtils::anonymize($ipv4);
+ $anonymousIpv4 = IpUtils::anonymize($ipv4);
335
// $anonymousIpv4 = '123.234.235.0'
336
337
$ipv6 = '2a01:198:603:10:396e:4789:8e99:890f';
338
- $anonymousIpv6 = IPUtils::anonymize($ipv6);
+ $anonymousIpv6 = IpUtils::anonymize($ipv6);
339
// $anonymousIpv6 = '2a01:198:603:10::'
340
341
Accessing other Data
0 commit comments