]> granicus.if.org Git - php/commitdiff
Added expected output.
authorIlia Alshanetsky <iliaa@php.net>
Sat, 26 Oct 2002 20:55:48 +0000 (20:55 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Sat, 26 Oct 2002 20:55:48 +0000 (20:55 +0000)
ext/standard/tests/strings/bug20108.phpt

index 129d260050fddd278f171c05246b895c6bd397a7..5694d6c94430b07c6933915a135df43c8a1be3f9 100644 (file)
@@ -2,6 +2,11 @@
 Segfault on printf statement bug #20108
 --SKIPIF--
 --FILE--
-<?php $a = "boo"; printf("%580.58s\n", $a); ?>
+<?php
+       $a = "boo";
+       $z = sprintf("%580.58s\n", $a);
+       var_dump($z);
+?>
 --EXPECT--
-I have no idea yet :)
+string(581) "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 boo
+"