summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Lopes <nlopess@php.net>2006-12-27 15:17:04 +0000
committerNuno Lopes <nlopess@php.net>2006-12-27 15:17:04 +0000
commit54f3ff34b743f0f542008609307f3b49de7a98c7 (patch)
tree4bca0f67446404adeb91dc6d4b483bf44007217d
parentd07a46ebabe3df4d39520cb1085fce5fb0e53c49 (diff)
downloadphp-git-54f3ff34b743f0f542008609307f3b49de7a98c7.tar.gz
oops: remove uneeded code in the skip condition
-rw-r--r--ext/standard/tests/strings/htmlentities02.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/tests/strings/htmlentities02.phpt b/ext/standard/tests/strings/htmlentities02.phpt
index 6cbb83888e..babec44b56 100644
--- a/ext/standard/tests/strings/htmlentities02.phpt
+++ b/ext/standard/tests/strings/htmlentities02.phpt
@@ -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";