diff options
| author | Moriyoshi Koizumi <moriyoshi@php.net> | 2008-07-24 22:21:41 +0000 |
|---|---|---|
| committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2008-07-24 22:21:41 +0000 |
| commit | 4f42ed39c0c955b724051c2b27d69cd8c3ceacdd (patch) | |
| tree | 7e654c45e5c7e39a24983f81954d8ef6b67a50e6 /ext/mbstring/tests/zend_multibyte-12.phpt | |
| parent | 1f845199f79d4fd87074e1dfd4e236207e1bc1c2 (diff) | |
| download | php-git-4f42ed39c0c955b724051c2b27d69cd8c3ceacdd.tar.gz | |
- Revived zend multibyte
Diffstat (limited to 'ext/mbstring/tests/zend_multibyte-12.phpt')
| -rw-r--r-- | ext/mbstring/tests/zend_multibyte-12.phpt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ext/mbstring/tests/zend_multibyte-12.phpt b/ext/mbstring/tests/zend_multibyte-12.phpt new file mode 100644 index 0000000000..4af5284003 --- /dev/null +++ b/ext/mbstring/tests/zend_multibyte-12.phpt @@ -0,0 +1,16 @@ +--TEST-- +zend multibyte (12) +--SKIP-- +<?php +ini_set("mbstring.script_encoding", "SJIS"); +ini_set("mbstring.script_encoding", "***") != "SJIS" or + die("skip zend-multibyte is not available"); +?> +--FILE-- +<?php +declare(encoding="ISO-8859-15"); +echo 1; +declare(encoding="ISO-8859-1"); +?> +--EXPECTF-- +Fatal error: Encoding declaration pragma must be the very first statement in the script in %s on line 4 |
