Add support for the l (long) length modifier, which PHP parses but ignores.
It should be supported by all types. ArgumentLexeme should be aware of it and Printer should reproduce it.
Add test cases for it.
Examples include but are not limited to %ld %ls %lf %10lf. Add tests for these and others. Follow existing test patterns.
As far as parsing is concerned, l should be accepted only when it appears immediately before the final type specifier. This mirrors observed PHP behavior, even though PHP’s documented format syntax does not list length modifiers.
Add support for the
l(long) length modifier, which PHP parses but ignores.It should be supported by all types. ArgumentLexeme should be aware of it and
Printershould reproduce it.Add test cases for it.
Examples include but are not limited to
%ld%ls%lf%10lf. Add tests for these and others. Follow existing test patterns.As far as parsing is concerned,
lshould be accepted only when it appears immediately before the final type specifier. This mirrors observed PHP behavior, even though PHP’s documented format syntax does not list length modifiers.