diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-10 03:08:51 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-10 03:08:51 +0900 |
| commit | 746e29c353679e28e18650816745bffca7303e97 (patch) | |
| tree | 52c2a44512c24956c0b7d30f20ca9048f6ca0258 /crates/shirabe/src/autoload | |
| parent | 264feb1093d587e5df457fac023852a0e578b22f (diff) | |
| download | php-shirabe-746e29c353679e28e18650816745bffca7303e97.tar.gz php-shirabe-746e29c353679e28e18650816745bffca7303e97.tar.zst php-shirabe-746e29c353679e28e18650816745bffca7303e97.zip | |
fix(php-src): assert php_gcvt's unported arguments up front
php_gcvt only ports the ndigit < 0 (dtoa mode 0) path and hardcodes the
'.'/'E' separators of its sole caller into the placement logic, but it
accepted any argument and silently produced a wrong string for the rest.
Assert the supported combination instead, and turn the mode 2 bail-out
into unreachable! now that the assert rules it out.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/autoload')
0 files changed, 0 insertions, 0 deletions
