1
0
mirror of https://github.com/php/php-src.git synced 2026-04-30 03:33:17 +02:00
Files
archived-php-src/ext/iconv/tests/bug37773.phpt
T
2006-11-15 18:35:18 +00:00

10 lines
213 B
PHP

--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"