Function __global->ip_wild_to_apache

Definitions

sources/failure.php

  • Convert simple software wildcard syntax in IP addresses to Apache netmask 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 *'s)

Returns

  • The Apache-style IP
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Convert simple software wildcard syntax in IP addresses to Apache netmask syntax.
 *
 * @param  IP $ip The IP address (potentially encoded with *'s)
 * @return string The Apache-style IP
 */

function ip_wild_to_apache(string $ip) : string