Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 485 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 485 Bytes

DFFI

DevelNext Foreign Function Interface

Example

<?php
use system\DFFI;
use system\DFFIType;

$user32 = new DFFI("user32");
$user32->bind("MessageBoxA", DFFIType::INT, [DFFIType::INT, DFFIType::STRING, DFFIType::STRING, DFFIType::INT]);
//int MesssageBoxA(int, string, string, int)

DFFI::MessageBoxA(0, "Hello", "HelloWorld", 0);

API Documentation

api-docs

Bundle for DevelNext

Download