You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sprintf('%d', '42') with a numeric string argument prints a pointer instead of 42. #320
sprintf('%d', '42') with a numeric string argument prints a pointer instead of 42.
Repro
<?phpvar_dump(sprintf('%d', '42'));
Expected (php)
string(2) "42"
Actual (manticore 4f6a0a83, Darwin arm64)
string(10) "4345113152"
Tracking
Known-bug repro: tests/aot/repro/wrong/sprintf_d_numeric_string.php — bash tests/aot/xfail.sh -k sprintf_d_numeric_string reports XFAIL while this is open and XPASS once it is fixed; then move the repro into tests/aot/cases/ and close this issue.
Activity
Performance sweep of basic functions: quadratic behaviour removed, O(…