« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 12 for LuaSandboxFunction (0.002 sec.)
The LuaSandboxFunction class | PHP 8.3 12151
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 function call ( string ...$args ): array | bool public function dump (): string } 目次 LuaSandboxF ... unction::call — Call a Lua function LuaSandboxFunction::__construct — Unused LuaSandboxFunction::dump — Dump the function as a binary blob 他のマニュアルの関連ページ Python call ...
https://man.mtool.work/php/8.3/class.luasandboxfunction.html
LuaSandbox::wrapPhpFunction — Wrap a PHP callable in a LuaSandboxFunction | PHP... 10595
LuaSandbox::wrapPhpFunction (PECL luasandbox >= 1.2.0) LuaSandbox::wrapPhpFunction — Wrap a PHP callable in a LuaSandboxFunction 説明 public function LuaSandbox::wrapPhpFunction ( callable $function ): LuaSandboxFunction Wraps a PHP callabl ... e in a LuaSandboxFunction , so it can be passed into Lua as an anonymous function. The function must return either an array of values (which may be ... e caught inside Lua with pcall() or xpcall() . For more information about calling Lua functions and the return values, see LuaSandboxFunction::call() . パラメータ function Callable to wrap. 戻り値 Returns a LuaSandboxFunction . 参考 LuaSandbox::loadString() - Load ...
https://man.mtool.work/php/8.3/luasandbox.wrapphpfunction.html
LuaSandboxFunction::__construct — Unused | PHP 8.3 10312
LuaSandboxFunction::__construct (PECL luasandbox >= 1.0.0) LuaSandboxFunction::__construct — Unused 説明 final private function LuaSandboxFunction::__construct () LuaSandboxFunction are obtained as a return value from Lua, as a parameter pa ...
https://man.mtool.work/php/8.3/luasandboxfunction.construct.html
LuaSandbox::loadBinary — Load a precompiled binary chunk into the Lua environme... 10011
LuaSandbox::loadBinary (PECL luasandbox >= 1.0.0) LuaSandbox::loadBinary — Load a precompiled binary chunk into the Lua environment 説明 public function LuaSandbox::loadBinary ( string $code , string $chunkName = '' ): LuaSandboxFunction Lo ... ads data generated by LuaSandboxFunction::dump() . パラメータ code Data from LuaSandboxFunction::dump() . chunkName Name for the loaded function. 戻り値 Returns a ...
https://man.mtool.work/php/8.3/luasandbox.loadbinary.html
LuaSandbox | PHP 8.3 9940
LuaSandbox はじめに LuaSandbox is an extension for PHP 7 and PHP 8 to allow safely running untrusted Lua 5.1 code from within PHP. Differences compared to the Lua extension: LuaSandbox has support for time and memory limits. LuaSandbox prov ... sageTimer — Unpause the timer paused by LuaSandbox::pauseUsageTimer LuaSandbox::wrapPhpFunction — Wrap a PHP callable in a LuaSandboxFunction LuaSandboxFunction — The LuaSandboxFunction class LuaSandboxFunction::call — Call a Lua function LuaSandboxFunction::__con ... struct — Unused LuaSandboxFunction::dump — Dump the function as a binary blob LuaSandboxError — The LuaSandboxError class LuaSandboxErrorError — The LuaSandb ...
https://man.mtool.work/php/8.3/book.luasandbox.html
LuaSandboxFunction::dump — Dump the function as a binary blob | PHP 8.3 8967
LuaSandboxFunction::dump (PECL luasandbox >= 1.0.0) LuaSandboxFunction::dump — Dump the function as a binary blob 説明 public function LuaSandboxFunction::dump (): string Dumps the function as a binary blob. パラメータ この関数にはパラメータ ...
https://man.mtool.work/php/8.3/luasandboxfunction.dump.html
The LuaSandbox class | PHP 8.3 8313
The LuaSandbox class (PECL luasandbox >= 1.0.0) はじめに The LuaSandbox class creates a Lua environment and allows for execution of Lua code. クラス概要 class LuaSandbox { /* 定数 */ const int SAMPLES = 0 ; const int SECONDS = 1 ; const int ... rray public static function getVersionInfo (): array public function loadBinary ( string $code , string $chunkName = '' ): LuaSandboxFunction public function loadString ( string $code , string $chunkName = '' ): LuaSandboxFunction public function pauseUsageTimer ( ... it ( int $limit ): void public function unpauseUsageTimer (): void public function wrapPhpFunction ( callable $function ): LuaSandboxFunction } 定義済み定数 LuaSandbox::SAMPLES Used with LuaSandbox::getProfilerFunctionReport() to return timings in samples. LuaSand ... sageTimer — Unpause the timer paused by LuaSandbox::pauseUsageTimer LuaSandbox::wrapPhpFunction — Wrap a PHP callable in a LuaSandboxFunction 他のマニュアルの関連ページ Linux JM clearenv(3) ...
https://man.mtool.work/php/8.3/class.luasandbox.html
LuaSandboxFunction::call — Call a Lua function | PHP 8.3 8242
LuaSandboxFunction::call (PECL luasandbox >= 1.0.0) LuaSandboxFunction::call — Call a Lua function 説明 public function LuaSandboxFunction::call ( string ...$args ): array | bool Calls a Lua function. Errors considered to be the fault of th ... float s. PHP bool s are Lua booleans, and vice versa. PHP string s are Lua strings, and vice versa. Lua functions are PHP LuaSandboxFunction objects, and vice versa. General PHP callable s are not supported. PHP array s are converted to Lua tables, and vice versa ...
https://man.mtool.work/php/8.3/luasandboxfunction.call.html
LuaSandbox::loadString — Load Lua code into the Lua environment | PHP 8.3 8171
LuaSandbox::loadString (PECL luasandbox >= 1.0.0) LuaSandbox::loadString — Load Lua code into the Lua environment 説明 public function LuaSandbox::loadString ( string $code , string $chunkName = '' ): LuaSandboxFunction Loads Lua code into ... tring() function. パラメータ code Lua code. chunkName Name for the loaded chunk, for use in error traces. 戻り値 Returns a LuaSandboxFunction which, when executed, will execute the passed $code . 例 例1 Loading code into Lua <?php // create a new LuaSandbox $sandb ... isterLibrary() - Register a set of PHP functions as a Lua library LuaSandbox::wrapPhpFunction() - Wrap a PHP callable in a LuaSandboxFunction 他のマニュアルの関連ページ Linux JM clearenv(3) FastAPI 環境変数 Linux JM environ(7) ...
https://man.mtool.work/php/8.3/luasandbox.loadstring.html
LuaSandbox::registerLibrary — Register a set of PHP functions as a Lua library ... 6986
LuaSandbox::registerLibrary (PECL luasandbox >= 1.0.0) LuaSandbox::registerLibrary — Register a set of PHP functions as a Lua library 説明 public function LuaSandbox::registerLibrary ( string $libname , array $functions ): void Registers a ... y, so that Lua can call the relevant PHP code. For more information about calling Lua functions and the return values, see LuaSandboxFunction::call() . パラメータ libname The name of the library. In the Lua state, the global variable of this name will be set to th ... LuaSandbox::loadString() - Load Lua code into the Lua environment LuaSandbox::wrapPhpFunction() - Wrap a PHP callable in a LuaSandboxFunction 他のマニュアルの関連ページ DuckDB Nested Functions DuckDB CALL Statement Linux JM clearenv(3) DuckDB Window Function Exten ...
https://man.mtool.work/php/8.3/luasandbox.registerlibrary.html
PREV 1 2 NEXT