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