break;
case PHP_ICONV_ERR_CONVERTER:
- php_error_docref(NULL, E_NOTICE, "Cannot open converter");
+ php_error_docref(NULL, E_WARNING, "Cannot open converter");
break;
case PHP_ICONV_ERR_WRONG_CHARSET:
- php_error_docref(NULL, E_NOTICE, "Wrong charset, conversion from `%s' to `%s' is not allowed",
+ php_error_docref(NULL, E_WARNING, "Wrong charset, conversion from \"%s\" to \"%s\" is not allowed",
in_charset, out_charset);
break;
--EXPECTF--
*** Testing iconv_strlen() : error ***
-Notice: iconv_strlen(): Wrong charset, conversion from `unknown-encoding' to `UCS-4LE' is not allowed in %s on line %d
+Warning: iconv_strlen(): Wrong charset, conversion from "unknown-encoding" to "UCS-4LE" is not allowed in %s on line %d
bool(false)
--EXPECTF--
*** Testing iconv_strpos() : error conditions ***
-Notice: iconv_strpos(): Wrong charset, conversion from `unknown-encoding' to `UCS-4LE' is not allowed in %s on line %d
+Warning: iconv_strpos(): Wrong charset, conversion from "unknown-encoding" to "UCS-4LE" is not allowed in %s on line %d
bool(false)
Done
--EXPECTF--
*** Testing iconv_strrpos() : error conditions ***
-Notice: iconv_strrpos(): Wrong charset, conversion from `unknown-encoding' to `UCS-4LE' is not allowed in %s on line %d
+Warning: iconv_strrpos(): Wrong charset, conversion from "unknown-encoding" to "UCS-4LE" is not allowed in %s on line %d
bool(false)
Done
--EXPECTF--
*** Testing iconv_substr() : error conditions ***
-Notice: iconv_substr(): Wrong charset, conversion from `unknown-encoding' to `UCS-4LE' is not allowed in %s on line %d
+Warning: iconv_substr(): Wrong charset, conversion from "unknown-encoding" to "UCS-4LE" is not allowed in %s on line %d
bool(false)
Done