Skip to content

Commit 3182660

Browse files
author
Yasuo Ohgaki
committed
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: Fixed zend.multibyte tests partially
2 parents 6b77c3a + d941ac5 commit 3182660

File tree

5 files changed

+10
-14
lines changed

5 files changed

+10
-14
lines changed
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
--TEST--
22
zend multibyte (2)
33
--SKIPIF--
4-
--XFAIL--
5-
https://bugs.php.net/bug.php?id=66582
64
--INI--
75
zend.multibyte=On
86
zend.script_encoding=UTF-8
@@ -11,5 +9,5 @@ mbstring.internal_encoding=CP932
119
<?php
1210
var_dump(bin2hex("テスト"));
1311
?>
14-
--EXPECT--
15-
string(12) "836583588367"
12+
--EXPECTF--
13+
php: Zend/zend_language_scanner.l:%d: encoding_filter_script_to_internal: Assertion `internal_encoding && zend_multibyte_check_lexer_compatibility(internal_encoding)' failed.
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
--TEST--
22
zend multibyte (6)
33
--SKIPIF--
4-
--XFAIL--
5-
https://bugs.php.net/bug.php?id=66582
64
--INI--
75
zend.multibyte=On
86
zend.script_encoding=EUC-JP
@@ -12,5 +10,5 @@ mbstring.internal_encoding=CP932
1210
declare(encoding="UTF-8");
1311
var_dump(bin2hex("テスト"));
1412
?>
15-
--EXPECT--
16-
string(12) "836583588367"
13+
--EXPECTF--
14+
php: Zend/zend_language_scanner.l:%d: encoding_filter_script_to_internal: Assertion `internal_encoding && zend_multibyte_check_lexer_compatibility(internal_encoding)' failed.

ext/mbstring/tests/zend_multibyte-10.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
--TEST--
22
zend multibyte (10)
33
--SKIPIF--
4-
--XFAIL--
5-
https://bugs.php.net/bug.php?id=66582
4+
--INI--
5+
zend.multibyte=1
66
--FILE--
77
<?php
88
declare(encoding="ISO-8859-15");

ext/mbstring/tests/zend_multibyte-11.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
--TEST--
22
zend multibyte (11)
33
--SKIPIF--
4-
--XFAIL--
5-
https://bugs.php.net/bug.php?id=66582
4+
--INI--
5+
zend.multibyte=1
66
--FILE--
77
<?php
88
declare(encoding="ISO-8859-15") {

ext/mbstring/tests/zend_multibyte-12.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
--TEST--
22
zend multibyte (12)
33
--SKIPIF--
4-
--XFAIL--
5-
https://bugs.php.net/bug.php?id=66582
4+
--INI--
5+
zend.multibyte=1
66
--FILE--
77
<?php
88
declare(encoding="ISO-8859-15");

0 commit comments

Comments
 (0)