symfony1 icon indicating copy to clipboard operation
symfony1 copied to clipboard

Accept PHP 8.1's new $_FILES['full_path'] member

Open gileri opened this issue 3 years ago • 2 comments

PHP 8.1 introduced a new member to the $_FILES superglobal.

This PR allows to accept both array members.

gileri avatar Feb 24 '22 09:02 gileri

@Tybaze nice catch.

Did you see it from the test suite?

I wonder if it is covered.

alquerci avatar Jun 22 '22 16:06 alquerci

@alquerci , No, just reviewing the PR, got a doubt, make a custom test on an 7.4 env and trigger the error.

We should create a specific "adaptive" test for 8.1+ and before, And as it is a "Notice" I don't think it will crash the test

Tybaze avatar Jun 22 '22 16:06 Tybaze