File tree 1 file changed +3
-6
lines changed 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -353,13 +353,11 @@ analysis purposes. Use the ``anonymize()`` method from the
353
353
$anonymousIpv6 = IpUtils::anonymize($ipv6);
354
354
// $anonymousIpv6 = '2a01:198:603:10::'
355
355
356
-
357
- Check if an IP belongs to a CIDR subnet
356
+ Check If an IP Belongs to a CIDR Subnet
358
357
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
359
358
360
- If you need to know if an IP address is included in a CIDR subnet, you can
361
- use the ``checkIp `` method from the
362
- :class: `Symfony\\ Component\\ HttpFoundation\\ IpUtils ` to do that::
359
+ If you need to know if an IP address is included in a CIDR subnet, you can use
360
+ the ``checkIp() `` method from :class: `Symfony\\ Component\\ HttpFoundation\\ IpUtils `::
363
361
364
362
use Symfony\Component\HttpFoundation\IpUtils;
365
363
@@ -373,7 +371,6 @@ use the ``checkIp`` method from the
373
371
$isIpInCIDRv6 = IpUtils::checkIp($ipv6, $CIDRv6);
374
372
// $isIpInCIDRv6 = true
375
373
376
-
377
374
Accessing other Data
378
375
~~~~~~~~~~~~~~~~~~~~
379
376
You can’t perform that action at this time.
0 commit comments