mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix the test in 5.4 and trunk.
older libraries will emmit error here, while new won't. So lets just suppress it rather then making the test uselessly fail for random people.
This commit is contained in:
parent
a65e04be53
commit
c6f9556f37
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ fclose($fp);
|
|||
$fp = fopen(dirname(__FILE__).'/iconv_stream_filter.txt', 'rb');
|
||||
stream_filter_append($fp, 'string.rot13'); // this will make conversion fail.
|
||||
stream_filter_append($fp, 'convert.iconv.ISO-2022-JP/EUC-JP');
|
||||
var_dump(bin2hex(fread($fp, 10)) != "a4b3a4f3a4cba4c1a4cf");
|
||||
var_dump(bin2hex(@fread($fp, 10)) != "a4b3a4f3a4cba4c1a4cf");
|
||||
var_dump(bin2hex(fread($fp, 5)) != "69636f6e76");
|
||||
var_dump(bin2hex(fread($fp, 1)) != "0a");
|
||||
fclose($fp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue