xref: /PHP-8.2/ext/ffi/tests/303.phpt (revision bd9f4fa6)
1--TEST--
2FFI 303: FFI preloading flob
3--EXTENSIONS--
4ffi
5--SKIPIF--
6<?php if (substr(PHP_OS, 0, 3) == 'WIN') die('skip not for Windows'); ?>
7--INI--
8ffi.enable=1
9ffi.preload={PWD}/300*.h
10--FILE--
11<?php
12$ffi = FFI::scope("TEST_300");
13$ffi->printf("Hello World from %s!\n", "PHP");
14?>
15--EXPECT--
16Hello World from PHP!
17