]> granicus.if.org Git - php/commitdiff
oops: remove uneeded code in the skip condition
authorNuno Lopes <nlopess@php.net>
Wed, 27 Dec 2006 15:17:04 +0000 (15:17 +0000)
committerNuno Lopes <nlopess@php.net>
Wed, 27 Dec 2006 15:17:04 +0000 (15:17 +0000)
ext/standard/tests/strings/htmlentities02.phpt

index 6cbb83888e69118a8a184a2180382cecb4b48465..babec44b56efb0215f788cd6243ade842fcff5ab 100644 (file)
@@ -3,7 +3,7 @@ htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15)
 --SKIPIF--
 <?php
 $result = (bool)setlocale(LC_CTYPE, "fr_FR.ISO-8859-15", "fr_FR.ISO8859-15", 'fr_FR@euro');
-if (!$result || preg_match('/ISO/i', setlocale(LC_CTYPE, 0)) == 0) {
+if (!$result) {
        die("skip setlocale() failed\n");
 }
 echo "warn possibly braindead libc\n";