PHP: Fix for _PHP_MODERN_ONLY overrides logic.