Problem
Web templates often use sprintf for safe formatting:
echo sprintf('<a href="%s">%s</a>', htmlspecialchars($url), $label);
No dedicated issue tracks sprintf/printf JIT lowering; many apps avoid implode-only pipelines.
Goal
Implement sprintf (and optionally printf) for VM + JIT with a documented format subset (%s, %d, %f, %%).
Tasks
Acceptance criteria
Reference app can format pagination links without string concatenation chains.
Related
Problem
Web templates often use
sprintffor safe formatting:No dedicated issue tracks
sprintf/printfJIT lowering; many apps avoidimplode-only pipelines.Goal
Implement
sprintf(and optionallyprintf) for VM + JIT with a documented format subset (%s,%d,%f,%%).Tasks
sprintfinitially or port minimal formattersnprintfwith bounded bufferAcceptance criteria
Reference app can format pagination links without string concatenation chains.
Related