apprentice workflow completed
[brisk.git] / test / ip_test.php
1 #!/usr/bin/php
2 <?php
3 $a = array("127.0.0.1", "255.255.255.255", "255.255.0.0" );
4
5 printf("INT_SIZE: %d\n", PHP_INT_SIZE);
6 foreach ($a as $i) {
7     printf("VAL: %016x\n", ip2long($i));
8 }
9
10 ?>