application for a svn account(new extension PLua)

From: Date: Sun, 19 Jun 2011 06:56:20 +0000
Subject: application for a svn account(new extension PLua)
Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8372@lists.php.net to get a copy of this message
Hi: PLua(http://code.google.com/p/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... I hope can submit Plua to Pecl(btw: also I have submit another PHP extension Yaf(http://code.google.com/p/yafphp/) before , but no one response). if any other infos needed, plz inform me. thanks; APIS $lua = new Plua($lua_script_file = NULL); $lua->eval("lua_statements"); //eval lua codes $lua->include("lua_script_file"); //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($string_lua_function_name, array() /*args*/); $lua->call($resouce_lua_anonymous_function, array() /*args); $lua->call(array("table", "method"), array(...., "push_self" => [true | false]) /*args*/); $lua->{$lua_function}(array()/*args*/); -- Laruence Hui http://www.laruence.com

« previous php.pecl.dev (#8372) next »