working a bit
[PHPIPManager.git] / unittest / ip_regex.php
diff --git a/unittest/ip_regex.php b/unittest/ip_regex.php
new file mode 100644 (file)
index 0000000..724a19a
--- /dev/null
@@ -0,0 +1,9 @@
+<?php
+
+require_once "../lib/lib.php";
+
+ip::isValid("2003:1:2:3::1",64);
+ip::isValid("2003:1:2:3::1",48);
+ip::isValid("2003:1:2::1",64);
+
+?>
\ No newline at end of file