1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 23:18:13 +02:00
Files
archived-php-src/ext/standard/tests/strings/bug20108.phpt
T
Moriyoshi Koizumi 6fc22aa5d9 Test name formatting
2003-01-23 19:07:25 +00:00

13 lines
748 B
PHP

--TEST--
Bug #20108 (Segfault on printf statement)
--SKIPIF--
--FILE--
<?php
$a = "boo";
$z = sprintf("%580.58s\n", $a);
var_dump($z);
?>
--EXPECT--
string(581) " boo
"