Problem/Motivation

please see the link: https://php.watch/versions/8.1/internal-func-non-nullable-null-deprecation.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Sergiu Stici created an issue. See original summary.

sergiu stici’s picture

StatusFileSize
new7.4 KB

please review the patch

berdir’s picture

Status: Active » Postponed (maintainer needs more info)

Tests are now passing on 8.1, I see no indication of that actually being called will NULL? Some might, but definitely not the test that clearly expect a non-null value.

namisha jadhav’s picture

StatusFileSize
new533 bytes

Revised version that checks for null or non-string values before calling explode()

anybody’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)
Issue tags: +PHP 8.1

PHP 8.1 is EOL.