php-src/ext/standard/tests/strings/bug45166.phpt

11 lines
119 B
Plaintext
Raw Normal View History

--TEST--
Bug #45166 (substr() )
--FILE--
<?php
echo substr('cd', -3) . "\n";
?>
===DONE===
--EXPECT--
cd
===DONE===