ignore new "full_path" member in 8.1 4/head
authorRemi Collet <remi@remirepo.net>
Wed, 9 Jun 2021 09:46:36 +0000 (11:46 +0200)
committerRemi Collet <remi@remirepo.net>
Wed, 9 Jun 2021 09:46:36 +0000 (11:46 +0200)
tests/002.phpt
tests/003.phpt

index e46df770205d44eeaa96b5ff962e18eee3cac5bb..50ca2352248d7b3580b47a98822d04dfb537ec1d 100644 (file)
@@ -70,6 +70,9 @@ mike
 --FILE--
 <?php
 
+foreach($_FILES as $i => $v) {
+       unset($_FILES[$i]['full_path']); // only in 8.1
+}
 var_dump($_POST, $_FILES);
 
 ?>
index 7cfd9cae048dba0baf06d5c07950e734f0619101..94b898950330554024a9b5709da1fd11ac6fd85f 100644 (file)
@@ -70,6 +70,9 @@ mike
 --FILE--
 <?php
 
+foreach($_FILES as $i => $v) {
+       unset($_FILES[$i]['full_path']); // only in 8.1
+}
 var_dump($_POST, $_FILES);
 
 ?>