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 '';