From 19d4b8add1f05f47a1559252bf80eb780eeb22dc Mon Sep 17 00:00:00 2001 From: Igor Simdyanov Date: Sat, 23 Jul 2022 08:36:30 +0300 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=BB=D0=B0=D0=B2=D0=B0=2016:=20=D0=BA?= =?UTF-8?q?=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82=D1=83=D1=80=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- strings/printf_int.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/strings/printf_int.php b/strings/printf_int.php index 780513e..e6f2fbb 100644 --- a/strings/printf_int.php +++ b/strings/printf_int.php @@ -1,5 +1,5 @@ '; -printf('% 4d\n', 45); // ' 45' -printf('%04d\n', 45); // '00045' +printf('% 5d\n', 45); // ' 45' +printf('%05d\n', 45); // '00045' echo '';