mirror of
https://github.com/php/php-src.git
synced 2024-10-17 06:22:53 +00:00
14 lines
305 B
PHP
14 lines
305 B
PHP
--TEST--
|
|
Bug #52211 (iconv() returns part of string on error)
|
|
--FILE--
|
|
<?php
|
|
|
|
$str = "PATHOLOGIES MÉDICO-CHIRUR. ADUL. PL";
|
|
$str_iconv = iconv('CP850', 'ISO-8859-1', $str );
|
|
var_dump($str_iconv);
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Notice: iconv(): Detected an illegal character in input string in %s on line %d
|
|
bool(false)
|