diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-16 16:24:58 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-16 16:47:52 +0900 |
| commit | 5ed66b5485d20203970d594229d32458b3244ebb (patch) | |
| tree | 6a88bfa7c127b82ec06406ee7a5b8e29e33e4fcc /scripts/linters/src/Linters | |
| parent | 5e4bd47bf92e2fe151e3905ee8ab9972c9f70f8d (diff) | |
| download | php-shirabe-5ed66b5485d20203970d594229d32458b3244ebb.tar.gz php-shirabe-5ed66b5485d20203970d594229d32458b3244ebb.tar.zst php-shirabe-5ed66b5485d20203970d594229d32458b3244ebb.zip | |
fix(php-shim): accept negative offsets in substr_replace
The signature took usize, so PHP's negative $start and $length, which
count from the end of the string, could not be expressed. Take i64 and
an optional length, and apply PHP's clamping rules.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'scripts/linters/src/Linters')
0 files changed, 0 insertions, 0 deletions
