array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'class.luasandboxfunction.php', 1 => 'LuaSandboxFunction', ), 'up' => array ( 0 => 'book.luasandbox.php', 1 => 'LuaSandbox', ), 'prev' => array ( 0 => 'luasandbox.wrapphpfunction.php', 1 => 'LuaSandbox::wrapPhpFunction', ), 'next' => array ( 0 => 'luasandboxfunction.call.php', 1 => 'LuaSandboxFunction::call', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/luasandbox/luasandboxfunction.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.luasandboxfunction.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL luasandbox >= 1.0.0)
Represents a Lua function, allowing it to be called from PHP.
A LuaSandboxFunction may be obtained as a return value from Lua, as a parameter passed to a callback from Lua, or by using LuaSandbox::wrapPhpFunction(), LuaSandbox::loadString(), or LuaSandbox::loadBinary().