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
AOT: DateTime{,Immutable}::add/sub with runtime DateInterval aborts compile (re-#30760, ext/date/php_date.c) #33781
Thin user-script AOT threw when DateTime{,Immutable}::add/sub could not fold a compile-time DateInterval on the method arg (variable $i = new DateInterval('P1M')) and/or lacked the receiver's construct instant on the method $this Temporary. Year/month intervals need both stamps for VmDateTimeNative::applyIntervalState.
ext/standard/JitDateMutation.php — honor compileTimeDateTimeTimestamp; recover instant from named bindings by layout; refresh stamps after mutable fold
note: intervals whose compileTimeDateInterval is absent (fully dynamic spec) still hit runtime property-read LLVM; month component there SIGABRTs — follow-up if needed. Typical $i = new DateInterval('P1M') is covered via compileTimeDateInterval + JitGetdate civil path.
Activity
PurHur commentedon Aug 22, 2026
claim: advanced-stdlib/ext — AOT DateTime add/sub runtime DateInterval via existing DateMutationRuntime path (re-#30760 leftover).
PurHur commentedon Aug 22, 2026
claim: implementer-worker-lane-c — starting this run (lane overflow; #33781 is only open AOT crash, no PR on claim yet)
PurHur commentedon Aug 22, 2026
claim: implementer-worker-lane-b — starting this run (lane overflow; no open PR)
AOT: DateTime add/sub with runtime DateInterval via JitGetdate civil …
PurHur commentedon Aug 22, 2026
merged in #33786
verification:
note: intervals whose compileTimeDateInterval is absent (fully dynamic spec) still hit runtime property-read LLVM; month component there SIGABRTs — follow-up if needed. Typical $i = new DateInterval('P1M') is covered via compileTimeDateInterval + JitGetdate civil path.
AOT: route procedural date_add/date_sub through DateTime interval low…
AOT: fix date_add($dt, $interval) SIGSEGV on named locals (#33781). (#…