mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
10 lines
213 B
Plaintext
10 lines
213 B
Plaintext
|
--TEST--
|
||
|
Bug #37773 (iconv_substr() gives "Unknown error" when string length = 1")
|
||
|
--SKIPIF--
|
||
|
<?php include('skipif.inc'); ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
var_dump(iconv_substr('x', 0, 1, 'UTF-8'));
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
string(1) "x"
|