Closed (outdated)
Project:
Drupal core
Version:
main
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Aug 2025 at 14:13 UTC
Updated:
28 Jul 2026 at 12:44 UTC
Jump to comment: Most recent
Core has few checks for PHP_VERSION_ID which added for newer PHP versions
Before Drupal 12 is release conditional logic for unsupported versions require clean-up
Use git grep PHP_VERSION_ID to find all places
Clean-up conditions for PHP 8.4 (the minimal required version )
find, fix, review, commit
Comments
Comment #2
andypostComment #4
quietone commentedThe only uses of PHP_VERSION are in \Drupal\Component\Annotation\Doctrine\TokenParser which check that it is greater than 80000.
Other uses were removed in #3537713: [12.x] Require PHP 8.5, making this outdated.
Comment #6
quietone commented