|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-02-13 11:54 UTC] zeev
[2023-09-23 18:29 UTC] git@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 14:00:01 2025 UTC |
%% appears to steal an argument from the s/printf() argument list. When %% is the last %-construct in the format string, the lack of an argument is silently ignored. In other cases, unpleasant things happen: printf("%d %%",1); 1 % printf("%d %% %d",1,2); Warning: sprintf: too few arguments printf("%d %% %d",1,2,3); 1 % 3