Manuel Pear

Net_IPv4::htoa()

Net_IPv4::htoa() -- Converts a hexadecimal string into a dot-quad formatted IP address

Synopsis

  1. <?php
  2. require_once 'Net/IPv4.php
  3. ?> 

mixed htoa (string $addr)

Description

Converts hexadecimal string to a dot-quad formatted IP address - for example "c0a80100" to "192.168.1.0". Returns FALSE if the hexadecimal string is no valid IP adress.

Note

Cette fonction peut être appelée de façon statique.


Remonter Remonter
L'éditeur javascript - CSS - Gentoo - Tutoriaux PHP - Tutoriels PHP - Bretagne - php - Moto - Kit graphique