Function __global->ip_apache_to_wild
Definitions
sources/global3.php
- Convert Apache netmask syntax in IP addresses to simple software wildcard syntax.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $ip | IP | No | No | required parameter | N/A | N/A | The IP address (potentially encoded with netmask syntax) |
Returns
- The software-style IP wildcard
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Convert Apache netmask syntax in IP addresses to simple software wildcard syntax.
*
* @param IP $ip The IP address (potentially encoded with netmask syntax)
* @return string The software-style IP wildcard
*/
function ip_apache_to_wild(string $ip) : string
* Convert Apache netmask syntax in IP addresses to simple software wildcard syntax.
*
* @param IP $ip The IP address (potentially encoded with netmask syntax)
* @return string The software-style IP wildcard
*/
function ip_apache_to_wild(string $ip) : string

