略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: LuaSandboxFunction

2024-11-15

The LuaSandboxFunction class

(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().

类摘要

class LuaSandboxFunction {
/* 方法 */
public call(string ...$args): array|bool
public dump(): string
}

目录

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/class.luasandboxfunction.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3