]> granicus.if.org Git - php/commitdiff
- disable on win
authorPierre Joye <pajoye@php.net>
Mon, 5 Sep 2011 13:04:12 +0000 (13:04 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 5 Sep 2011 13:04:12 +0000 (13:04 +0000)
ext/standard/tests/network/ip2long_variation1.phpt

index ac3c9c81e19ec127d70812bedff99940c10aa038..3516beb0e8a698ea1b8b253a9f4c9d067fb0ef76 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 Test ip2long() function : usage variation 
+<?php
+if(substr(PHP_OS, 0, 3) == "WIN")
+  die("Windows is more compliant (like 0 for localhost, etc.)");
+?>
 --FILE--
 <?php
 /* Prototype  : int ip2long(string ip_address)