Skip to content

Commit

Permalink
Merge branch 'PHP-8.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoebi committed Apr 24, 2022
2 parents 1254aa4 + ff6b813 commit 7f34afc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ext/ffi/tests/gh7867.phpt
Original file line number Diff line number Diff line change
@@ -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]');
Expand Down
4 changes: 4 additions & 0 deletions ext/ffi/tests/gh8433.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
--TEST--
GH-8433 (Assigning function pointers to structs in FFI leaks memory)
--EXTENSIONS--
ffi
--INI--
ffi.enable=1
--FILE--
<?php

Expand Down

0 comments on commit 7f34afc

Please sign in to comment.