/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
ffi
/
tests
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/ffi/tests/bug77632.phpt
--TEST-- Bug #77632 (FFI Segfaults When Called With Variadics) --SKIPIF-- <?php require_once('skipif.inc'); try { $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6"); } catch (Throwable $_) { die('skip libc.so.6 not available'); } ?> --INI-- ffi.enable=1 --FILE-- <?php $libc = FFI::cdef("int printf(const char *format, ...);", "libc.so.6"); $args = ["test\n"]; $libc->printf(...$args); ?> --EXPECT-- test
Copyright ©2k19 -
Hexid
|
Tex7ure