php-src/ext/standard/tests/strings/bug22227.phpt
Moriyoshi Koizumi b069f35022 Fixed bug #22227
Added test case for bug #22227
2003-02-15 15:57:31 +00:00

10 lines
149 B
PHP

--TEST--
Bug #22227 (printf() field limiters broke between 4.2.3 and 4.3.0)
--FILE--
<?php
printf("%-3.3s", "abcdef");
print "\n";
?>
--EXPECT--
abc