All Projects → viest → PDL

viest / PDL

Licence: other
php dynamic library (PDL)

Programming Languages

c
50402 projects - #5 most used programming language
assembly
5116 projects
Roff
2310 projects
PHP
23972 projects - #3 most used programming language
M4
1887 projects
shell
77523 projects

Projects that are alternatives of or similar to PDL

Fleep Py
File format determination library for Python
Stars: ✭ 222 (+1607.69%)
Mutual labels:  extension
Smart Hierarchy
Better hierarchy for Unity.
Stars: ✭ 234 (+1700%)
Mutual labels:  extension
Gab Dissenter Extension
Dissenter.com Browser Extension source code
Stars: ✭ 252 (+1838.46%)
Mutual labels:  extension
Vscode Coverage Gutters
Display test coverage generated by lcov and xml - works with many languages
Stars: ✭ 226 (+1638.46%)
Mutual labels:  extension
Code Debug
Native debugging for VSCode
Stars: ✭ 232 (+1684.62%)
Mutual labels:  extension
Extension Create
Create modern cross-browser extensions with no build configuration.
Stars: ✭ 167 (+1184.62%)
Mutual labels:  extension
Sketchup Stl
A SketchUp Ruby Extension that adds STL (STereoLithography) file format import and export.
Stars: ✭ 214 (+1546.15%)
Mutual labels:  extension
auto-click-auto-fill
Auto Click Auto Fill on any web page
Stars: ✭ 111 (+753.85%)
Mutual labels:  extension
Webxr Emulator Extension
WebXR emulator extension
Stars: ✭ 231 (+1676.92%)
Mutual labels:  extension
Vscode Data Preview
Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
Stars: ✭ 245 (+1784.62%)
Mutual labels:  extension
Ctrlp Py Matcher
Fast vim CtrlP matcher based on python
Stars: ✭ 229 (+1661.54%)
Mutual labels:  extension
Miaow
A set of plugins for Sketch include drawing links & marks, UI Kit & Color sync, font & text replacing.
Stars: ✭ 2,536 (+19407.69%)
Mutual labels:  extension
Chrome Developer Mode Extension Warning Patcher
⇒ Disable Chrome's Developer Mode Extension Warning Popup & Elision WWW/HTTPS Hiding & Debugging Extension Popup
Stars: ✭ 240 (+1746.15%)
Mutual labels:  extension
Flask Common
A Flask extension with lots of common time-savers (file-serving, favicons, etc).
Stars: ✭ 227 (+1646.15%)
Mutual labels:  extension
Cpupower
Gnome-Shell Extension for intel-pstate driver
Stars: ✭ 252 (+1838.46%)
Mutual labels:  extension
Facebook Political Ads
Monitoring Facebook Political Ads
Stars: ✭ 215 (+1553.85%)
Mutual labels:  extension
Axocover
Nice and free .Net code coverage support for Visual Studio with OpenCover.
Stars: ✭ 237 (+1723.08%)
Mutual labels:  extension
save-text-to-file-firefox
Firefox addon that saves highlighted text to a file.
Stars: ✭ 87 (+569.23%)
Mutual labels:  extension
TwitchPotPlayer
Extensions for PotPlayer to watch Twitch streams without streamlinks or any crap.
Stars: ✭ 159 (+1123.08%)
Mutual labels:  extension
Twitch Hls Adblock
Block advertisements that are inserted in Twitch streams directly.
Stars: ✭ 242 (+1761.54%)
Mutual labels:  extension

Notice

请使用GCC进行编译!

一、安装

1、下载扩展
git clone https://github.com/VikinDev/PDL.git && cd PDL
2、依赖
  1. libffi
//  Debian or Ubuntu
sudo apt-get install libffi-dev

// Mac
brew install libffi

vim ~/.bash_profile

export C_INCLUDE_PATH=$C_INCLUDE_PATH:/usr/include/ffi
3、执行安装脚本
./install.sh --root enable
4、运行测试
which php

export TEST_PHP_EXECUTABLE=which command result

cd PDL && php -f run-test.php

二、返回值类型

  • int
  • double
  • string

三、语法糖

call(string $method_names, array $parameter, string $return_type)

$config = [
    'directory' => '/vagrant/www/library'
];

$pdl    = new \vikin\PDL($config);
$test   = $pdl->open('test.so')
$result = $test->call('test', [1, 2], 'int');

var_dump($result);
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].