mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Trivial test adjustment
This commit is contained in:
parent
0ae9394c39
commit
47f6ed8dbb
@ -75,11 +75,9 @@ EUC-JP
|
||||
ERR: Warning
|
||||
OK_BAD_SET
|
||||
EUC-JP
|
||||
ERR: Notice
|
||||
ERR: Warning
|
||||
OK_BAD_ARY_SET
|
||||
EUC-JP
|
||||
ERR: Notice
|
||||
ERR: Warning
|
||||
OK_BAD_OBJ_SET
|
||||
EUC-JP
|
||||
|
@ -30,7 +30,7 @@ print "$enc\n";
|
||||
// Invalid Parameter
|
||||
print "== INVALID PARAMETER ==\n";
|
||||
|
||||
// Note: Other than string type, PHP raise both Notice and Warning
|
||||
// Note: Other than string type, PHP raises Warning
|
||||
$r = mb_internal_encoding('BAD');
|
||||
($r === FALSE) ? print "OK_BAD_SET\n" : print "NG_BAD_SET\n";
|
||||
$enc = mb_internal_encoding();
|
||||
@ -59,11 +59,9 @@ ASCII
|
||||
ERR: Warning
|
||||
OK_BAD_SET
|
||||
ASCII
|
||||
ERR: Notice
|
||||
ERR: Warning
|
||||
OK_BAD_ARY_SET
|
||||
ASCII
|
||||
ERR: Notice
|
||||
ERR: Warning
|
||||
OK_BAD_OBJ_SET
|
||||
ASCII
|
||||
|
@ -166,10 +166,10 @@ OK_NEWLINE
|
||||
== INVALID PARAMETER TEST ==
|
||||
ERR: Warning
|
||||
OK_NULL
|
||||
ERR: Notice
|
||||
ERR: Warning
|
||||
OK_ARRAY
|
||||
ERR: Notice
|
||||
ERR: Warning
|
||||
OK_OBJECT
|
||||
ERR: Notice
|
||||
ERR: Warning
|
||||
OK_BAD_ENCODING
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user