We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1254aa4 + ff6b813 commit 7f34afcCopy full SHA for 7f34afc
ext/ffi/tests/gh7867.phpt
@@ -1,9 +1,9 @@
1
--TEST--
2
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
-?>
+--EXTENSIONS--
+ffi
+--INI--
+ffi.enable=1
7
--FILE--
8
<?php
9
$value = FFI::new('char[26]');
ext/ffi/tests/gh8433.phpt
@@ -1,5 +1,9 @@
GH-8433 (Assigning function pointers to structs in FFI leaks memory)
0 commit comments