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.
1 parent 1b0a79a commit 58cc66eCopy full SHA for 58cc66e
ext/ffi/tests/bug78270_1.phpt
@@ -5,6 +5,11 @@ FR #78270 (Usage of __vectorcall convention with FFI)
5
require_once('skipif.inc');
6
if (substr(PHP_OS, 0, 3) != 'WIN') die("skip this test is for Windows platforms only");
7
8
+ob_start();
9
+phpinfo(INFO_GENERAL);
10
+$info = ob_get_clean();
11
+if (preg_match('/Compiler => .*clang.*/', $info)) die("skip not for clang");
12
+
13
$dll = 'php7' . (PHP_ZTS ? 'ts' : '') . (PHP_DEBUG ? '_debug' : '') . '.dll';
14
try {
15
FFI::cdef(<<<EOC
0 commit comments