首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > PHP > Lua的PHP

Lua的PHP

  • 资源大小:7.02 kB
  • 上传时间:2021-06-29
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: php lua

资 源 简 介

Lua for PHP extension Plua has be moved to PECL, http://pecl.php.net/package/lua PLua is a PHP extension which with the Lua interpreter embed in. PLua is an rewritten version of PHP-Lua(http://phplua.3uu.de/), rewritten codes, add support for LUA_TFUNCTION return by Lua, optimized profermance, made compatible with c89, and more other new features... APIS ``` $lua = new Plua($luascriptfile = NULL); $lua->eval("lua_statements"); //eval lua codes $lua->include("luascriptfile"); //import a lua script $lua->assign("name", $value); //assign a php variable to Lua $lua->register("name", $function); //register a PHP function to Lua with "name" $lua->call($stringluafunction_name, array() /args/); $lua->call($resouceluaanonymous_function, array() /*args); $lua->call(array("table",

文 件 列 表

plua
plua.c
config.m4
CREDITS
EXPERIMENTAL
php_plua.h
VIP VIP
0.192152s