|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-12-08 13:12 UTC] nvktknnv at objectmail dot com
-Status: Open
+Status: Closed
[2010-12-08 13:12 UTC] nvktknnv at objectmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 01:00:02 2025 UTC |
Description: ------------ PHP 5.3.3 (cli) (built: Jul 21 2010 20:10:20) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans The example should return a single row of text. Instead running it on Win7 x64 with the CLI of php it returns the result shown below. Test script: --------------- <?php $formatted = vprintf("Some text: %s", array(12344)); echo "\n\nOut: $formatted\n"; ?> Expected result: ---------------- Out:Some text: 12344 Actual result: -------------- Some text: 12344 Out: 16