- var_dump: documentation ( source)
- hex2bin: documentation ( source)
- bin2hex: documentation ( source)
- inet_ntop: documentation ( source)
- inet_pton: documentation ( source)
<?php
var_dump(inet_ntop(inet_pton('0:0:0:0:0:0:129.144.52.38')), bin2hex(inet_pton('hi')), bin2hex(inet_pton('2001:DB8:0:0:8:800:200C:417A')), inet_ntop(hex2bin('75706c6f61646564696d6167652f312e6a7067')));