8000 GitHub - jphp-group-backup/jphp-dffi-ext: DevelNext и JPHP FFI
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jphp-group-backup/jphp-dffi-ext

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

0