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 4b0d5e0 commit 8623a85Copy full SHA for 8623a85
ext/ffi/tests/bug79571.phpt
@@ -3,6 +3,9 @@ Bug #79571 (FFI: var_dumping unions may segfault)
3
--SKIPIF--
4
<?php
5
if (!extension_loaded('ffi')) die('skip ffi extension not available');
6
+if (pack('S', 0xABCD) !== pack('v', 0xABCD)) {
7
+ die('skip for little-endian architectures only');
8
+}
9
?>
10
--FILE--
11
0 commit comments