Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ffi = \FFI::cdef(
- "int printf(const char *format, ...);", // this is a regular C declaration
- "libc.so.6");
- // call C's printf()
- $ffi->printf("Hello %s!\n", "world");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement