Skip to content

Commit ff6b813

Browse files
committed
Merge branch 'PHP-8.0' into PHP-8.1
2 parents 01b91cb + a74b865 commit ff6b813

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

ext/ffi/tests/gh7867.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
--TEST--
22
GH-7867 (FFI::cast() from pointer to array is broken)
3-
--SKIPIF--
4-
<?php
5-
if (!extension_loaded("ffi")) die("skip ffi extension not available");
6-
?>
3+
--EXTENSIONS--
4+
ffi
5+
--INI--
6+
ffi.enable=1
77
--FILE--
88
<?php
99
$value = FFI::new('char[26]');

ext/ffi/tests/gh8433.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
--TEST--
22
GH-8433 (Assigning function pointers to structs in FFI leaks memory)
3+
--EXTENSIONS--
4+
ffi
5+
--INI--
6+
ffi.enable=1
37
--FILE--
48
<?php
59

0 commit comments

Comments
 (0)