mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Merge branch 'PHP-8.1'
This commit is contained in:
commit
7f34afc32b
@ -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]');
|
||||
|
@ -1,5 +1,9 @@
|
||||
--TEST--
|
||||
GH-8433 (Assigning function pointers to structs in FFI leaks memory)
|
||||
--EXTENSIONS--
|
||||
ffi
|
||||
--INI--
|
||||
ffi.enable=1
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user