1--TEST--
2iconv_strpos() - test against PHP's default internal encoding
3--EXTENSIONS--
4iconv
5--FILE--
6<?php
7$large_enconding = str_repeat("X", 256);
8ini_set("default_charset", $large_enconding);
9var_dump(iconv_strpos('Hello, world', 'world', -2));
10?>
11--EXPECTF--
12%AWarning: iconv_strpos(): Wrong encoding, conversion from %s
13bool(false)
14