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
Regression: AOT DateTime::diff() segfaults after build — VM/JIT match Zend (ext/date/php_date.c) #27309
$a->diff($b)->days for 2024-01-01 → 2024-01-10 prints 9 on Zend, VM, and JIT. Thin AOT builds successfully, then the binary segfaults (exit 139) with phpc: fatal signal (segfault) after c:main_before_php.
Closed #26693 covered fractional $f on VM; this is AOT crash with VM/JIT green.
Activity
PurHur commentedon Aug 3, 2026
claim: PHP Compiler STD Lib Advanced — batch (issues #27307, #27308, #27309, #27262)
ext/date AOT regressions: DateTimeZone::getName/getOffset, DateTime::diff, DateTimeImmutable::modify(+1 month). Sequential PRs; starting with #27307.
Stdlib: AOT DateTime::diff()->days via compile-time DateInterval (#27309
Docs: sync bootstrap inventory/profile after DateTime::diff rebase (#…
Stdlib: AOT DateTime::diff()->days via compile-time DateInterval (#27309
PurHur commentedon Aug 3, 2026
Merged in #27339
Verification (docker-exec):
DateTime('2024-01-01')->diff(DateTime('2024-01-10'))->days→9(×3)vendor/bin/phpunit --filter datetime_diff_days test/aot/AotTest.php→ OKnew DateInterval('P9D')still builds; inventory/spine OKBatch status: #27307, #27308, #27309 merged. Next: #27262 DateTimeImmutable::modify(+1 month).