summaryrefslogtreecommitdiff
path: root/ext/fribidi
diff options
context:
space:
mode:
authorTal Peer <tal@php.net>2002-10-08 08:17:03 +0000
committerTal Peer <tal@php.net>2002-10-08 08:17:03 +0000
commit6d80a07ba004329d433afc0c21d9d1e4cdd51947 (patch)
treeb0c65c5570ada25fe84cf19c0a38898f858b83e7 /ext/fribidi
parentbde85234d674261797b3595d54f9bd64fdb5f8e8 (diff)
downloadphp-git-6d80a07ba004329d433afc0c21d9d1e4cdd51947.tar.gz
Added test to check if charsets constants are defined
Diffstat (limited to 'ext/fribidi')
-rw-r--r--ext/fribidi/tests/002.phpt26
1 files changed, 26 insertions, 0 deletions
diff --git a/ext/fribidi/tests/002.phpt b/ext/fribidi/tests/002.phpt
new file mode 100644
index 0000000000..20fea9f524
--- /dev/null
+++ b/ext/fribidi/tests/002.phpt
@@ -0,0 +1,26 @@
+--TEST--
+FriBidi charsets
+--SKIPIF--
+<?php if (!extension_loaded("fribidi")) print "skip"; ?>
+--POST--
+--GET--
+--FILE--
+<?php
+ error_reporting(E_ALL ^ E_NOTICE);
+
+ echo FRIBIDI_CHARSET_8859_8."\n";
+ echo FRIBIDI_CHARSET_8859_6."\n";
+ echo FRIBIDI_CHARSET_UTF8."\n";
+ echo FRIBIDI_CHARSET_CP1255."\n";
+ echo FRIBIDI_CHARSET_CP1256."\n";
+ echo FRIBIDI_CHARSET_ISIRI_3342."\n";
+ echo FRIBIDI_CHARSET_CAP_RTL."\n";
+?>
+--EXPECT--
+4
+3
+1
+5
+6
+7
+2