Skip to content
This repository was archived by the owner on Jun 3, 2018. It is now read-only.

Latest commit

 

History

History
17 lines (12 loc) · 449 Bytes

File metadata and controls

17 lines (12 loc) · 449 Bytes

DevelNext Foreign Function Interface

This repository is archived. New repository: https://github.com/jphp-group/jphp-dffi-ext

Пример

<?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);