Merge branch 'PHP-8.1'

This commit is contained in:
Bob Weinand 2022-04-24 18:05:08 +02:00
commit 7f34afc32b
2 changed files with 8 additions and 4 deletions

View File

@ -1,9 +1,9 @@
--TEST--
GH-7867 (FFI::cast() from pointer to array is broken)
--SKIPIF--
<?php
if (!extension_loaded("ffi")) die("skip ffi extension not available");
?>
--EXTENSIONS--
ffi
--INI--
ffi.enable=1
--FILE--
<?php
$value = FFI::new('char[26]');

View File

@ -1,5 +1,9 @@
--TEST--
GH-8433 (Assigning function pointers to structs in FFI leaks memory)
--EXTENSIONS--
ffi
--INI--
ffi.enable=1
--FILE--
<?php