cvs: php4 /ext/iconv/tests iconv002.phpt
| From: | Moriyoshi Koizumi | Date: | Wed, 06 Nov 2002 16:37:11 +0000 |
| Subject: | cvs: php4 /ext/iconv/tests iconv002.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15857@lists.php.net to get a copy of this message | ||
moriyoshi Wed Nov 6 11:37:11 2002 EDT
Modified files:
/php4/ext/iconv/tests iconv002.phpt
Log:
Stricter SKIPIF conditions
Index: php4/ext/iconv/tests/iconv002.phpt
diff -u php4/ext/iconv/tests/iconv002.phpt:1.3 php4/ext/iconv/tests/iconv002.phpt:1.4
--- php4/ext/iconv/tests/iconv002.phpt:1.3 Tue Oct 29 11:25:23 2002
+++ php4/ext/iconv/tests/iconv002.phpt Wed Nov 6 11:37:10 2002
@@ -1,7 +1,12 @@
--TEST--
UCS4BE to ASCII
--SKIPIF--
-<?php /* include('skipif.inc'); */ ?>
+<?php
+/* include('skipif.inc'); */
+if (@iconv("ascii","UCS-4LE", "abcd") == '') {
+ die("skip conversion to UCS-4LE not supported");
+}
+?>
--INI--
error_reporting=2039
--FILE--