Results of 1 - 10 of about 10 for pcall (0.001 sec.)
- Wrap a PHP callable in a LuaSandboxFunction 11817
- « LuaSandbox::unpauseUsageTimer LuaSandboxFunction » PHP Manual LuaSandbox Wrap a PHP callable in a LuaSandboxFunction 検索 LuaSandbox::wrapPhpFunction (PECL luasandbox >= 1.2.0) LuaSandbox::wrapPhpFunction — Wrap a PHP callable in a LuaSan
... dboxFunction 説明 public function LuaSandbox::wrapPhpFunction ( callable $function ): LuaSandboxFunction Wraps a PHP callable in a LuaSandboxFunction , so it can be passed into Lua as an anonymous function. The function must return either an a ... . Exceptions will be raised as errors in Lua, however only LuaSandboxRuntimeError exceptions may be caught inside Lua with pcall() or xpcall() . For more information about calling Lua functions and the return values, see LuaSandboxFunction::call() . パ ... aps passed anonymous equivalent returning Exceptions raised errors however LuaSandboxRuntimeError exceptions caught inside pcall ...
-
https://man.mtool.work/php/8.3/luasandbox.wrapphpfunction.html
- The LuaSandboxFatalError class 11548
- « LuaSandboxErrorError LuaSandboxMemoryError » PHP Manual LuaSandbox The LuaSandboxFatalError class 検索 The LuaSandboxFatalError class (PECL luasandbox >= 1.0.0) はじめに Uncatchable LuaSandbox exceptions. These may not be caught inside Lu
... a using pcall() or xpcall() . クラス概要 class LuaSandboxFatalError extends LuaSandboxError { /* 継承したプロパティ */ protected string ... dbox 継承 Throwable LuaSandboxErrorError LuaSandboxMemoryError luasandbox Uncatchable exceptions These caught inside using pcall xpcall 概要 extends LuaSandboxError プロパティ message code ...
-
https://man.mtool.work/php/8.3/class.luasandboxfatalerror.html
- The LuaSandboxRuntimeError class 11548
- « LuaSandboxMemoryError LuaSandboxSyntaxError » PHP Manual LuaSandbox The LuaSandboxRuntimeError class 検索 The LuaSandboxRuntimeError class (PECL luasandbox >= 1.0.0) はじめに Catchable LuaSandbox runtime exceptions. These may be caught in
... side Lua using pcall() or xpcall() . クラス概要 class LuaSandboxRuntimeError extends LuaSandboxError { /* 継承したプロパティ */ protected strin ... 継承 Throwable LuaSandboxMemoryError LuaSandboxSyntaxError luasandbox Catchable runtime exceptions These caught inside using pcall xpcall 概要 extends LuaSandboxError プロパティ message ...
-
https://man.mtool.work/php/8.3/class.luasandboxruntimeerror.html
- The LuaSandboxFatalError class 8009
- « LuaSandboxErrorError LuaSandboxMemoryError » PHP Manual LuaSandbox The LuaSandboxFatalError class 検索 The LuaSandboxFatalError class (PECL luasandbox >= 1.0.0) はじめに Uncatchable LuaSandbox exceptions. These may not be caught inside Lu
... a using pcall() or xpcall() . クラス概要 class LuaSandboxFatalError extends LuaSandboxError { /* 継承したプロパティ */ protected string ...
-
https://man.mtool.work/php/8.3/class.luasandboxfatalerror.html
- The LuaSandboxRuntimeError class 8009
- « LuaSandboxMemoryError LuaSandboxSyntaxError » PHP Manual LuaSandbox The LuaSandboxRuntimeError class 検索 The LuaSandboxRuntimeError class (PECL luasandbox >= 1.0.0) はじめに Catchable LuaSandbox runtime exceptions. These may be caught in
... side Lua using pcall() or xpcall() . クラス概要 class LuaSandboxRuntimeError extends LuaSandboxError { /* 継承したプロパティ */ protected strin ...
-
https://man.mtool.work/php/8.3/class.luasandboxruntimeerror.html
- Wrap a PHP callable in a LuaSandboxFunction 8009
- « LuaSandbox::unpauseUsageTimer LuaSandboxFunction » PHP Manual LuaSandbox Wrap a PHP callable in a LuaSandboxFunction 検索 LuaSandbox::wrapPhpFunction (PECL luasandbox >= 1.2.0) LuaSandbox::wrapPhpFunction — Wrap a PHP callable in a LuaSan
... dboxFunction 説明 public function LuaSandbox::wrapPhpFunction ( callable $function ): LuaSandboxFunction Wraps a PHP callable in a LuaSandboxFunction , so it can be passed into Lua as an anonymous function. The function must return either an a ... . Exceptions will be raised as errors in Lua, however only LuaSandboxRuntimeError exceptions may be caught inside Lua with pcall() or xpcall() . For more information about calling Lua functions and the return values, see LuaSandboxFunction::call() . パ ...
-
https://man.mtool.work/php/8.3/luasandbox.wrapphpfunction.html
- Basic usage for LuaSandbox 7723
- « 例 LuaSandbox » PHP Manual 例 Basic usage for LuaSandbox 検索 Basic usage for LuaSandbox Once you've compiled PHP with LuaSandbox support, you can begin using LuaSandbox to safely run user-provided Lua code. 例1 Execute some Lua code <?ph
... hrown LuaSandboxRuntimeError exceptions can be caught inside Lua list( $ok , $message ) = $sandbox -> loadString ( 'return pcall( php.error )' )-> call (); assert ( ! $ok ); assert ( $message === 'Something is wrong' ); ?> 関連キーワード: LuaSandbox L ...
-
https://man.mtool.work/php/8.3/luasandbox.examples-basic.html
- Basic usage for LuaSandbox 7723
- « 例 LuaSandbox » PHP Manual 例 Basic usage for LuaSandbox 検索 Basic usage for LuaSandbox Once you've compiled PHP with LuaSandbox support, you can begin using LuaSandbox to safely run user-provided Lua code. 例1 Execute some Lua code <?ph
... hrown LuaSandboxRuntimeError exceptions can be caught inside Lua list( $ok , $message ) = $sandbox -> loadString ( 'return pcall( php.error )' )-> call (); assert ( ! $ok ); assert ( $message === 'Something is wrong' ); ?> 関連キーワード: LuaSandbox s ...
-
https://man.mtool.work/php/8.3/luasandbox.examples-basic.html
- Differences from Standard Lua 7454
- « インストール手順 例 » PHP Manual LuaSandbox Differences from Standard Lua 検索 Differences from Standard Lua LuaSandbox provides a sandboxed environment which differs in some ways from standard Lua 5.1. Features that are not available dof
... loadfile() , and the io package, as they allow direct filesystem access. If needed, filesystem access should be done via PHP callbacks. The package package, including require() and module() , as it depends heavily on direct filesystem access. A pure-L ... low for static analysis of Lua code. print() , since it outputs to standard output. If needed, output should be done via PHP callbacks. Most of the os package, as it allows manipulation of the process and executing of other processes. os.clock() , os. ... lectgarbage() , gcinfo() , and the coroutine package have not been reviewed for security. Features that have been modified pcall() and xpcall() cannot catch certain errors, particularly timeout errors. tostring() does not include pointer addresses. st ...
-
https://man.mtool.work/php/8.3/reference.luasandbox.differences.html
- Differences from Standard Lua 7454
- « インストール手順 例 » PHP Manual LuaSandbox Differences from Standard Lua 検索 Differences from Standard Lua LuaSandbox provides a sandboxed environment which differs in some ways from standard Lua 5.1. Features that are not available dof
... loadfile() , and the io package, as they allow direct filesystem access. If needed, filesystem access should be done via PHP callbacks. The package package, including require() and module() , as it depends heavily on direct filesystem access. A pure-L ... low for static analysis of Lua code. print() , since it outputs to standard output. If needed, output should be done via PHP callbacks. Most of the os package, as it allows manipulation of the process and executing of other processes. os.clock() , os. ... lectgarbage() , gcinfo() , and the coroutine package have not been reviewed for security. Features that have been modified pcall() and xpcall() cannot catch certain errors, particularly timeout errors. tostring() does not include pointer addresses. st ...
-
https://man.mtool.work/php/8.3/reference.luasandbox.differences.html
PREV
1
NEXT