Results of 1 - 10 of about 18 for LuaSandboxRuntimeError (0.002 sec.)
- The LuaSandboxRuntimeError class 12388
- « 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 string $ message = "" ; private string $ string = "" ; protec ... tion::__toString (): string private function Exception::__clone (): void } 関連キーワード: function Exception string final LuaSandboxRuntimeError class protected private int LuaSandbox 継承 array Throwable LuaSandboxMemoryError Search LuaSandboxSyntaxError luasandbox ...
-
https://man.mtool.work/php/8.3/class.luasandboxruntimeerror.html
- The LuaSandboxRuntimeError class 12251
- « 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 string $ message = "" ; private string $ string = "" ; protec ... c function Exception::__toString (): string private function Exception::__clone (): void } 関連キーワード: Exception final LuaSandboxRuntimeError protected private LuaSandbox 継承 Throwable LuaSandboxMemoryError LuaSandboxSyntaxError luasandbox Catchable runtime excep ...
-
https://man.mtool.work/php/8.3/class.luasandboxruntimeerror.html
- Basic usage for LuaSandbox 10106
- « 例 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
... ticate' => 'frobnosticate' , 'output' => function ( $string ) { echo " $string \n" ; }, 'error' => function () { throw new LuaSandboxRuntimeError ( "Something is wrong" ); } ] ); // Execute some Lua code, including callbacks into PHP and into Lua $luaCode = <<<EOF php ... i , $frob ) = $sandbox -> loadString ( $luaCode )-> call (); assert ( $frob -> call ( 4000 ) === [ 4242 ] ); // PHP-thrown LuaSandboxRuntimeError exceptions can be caught inside Lua list( $ok , $message ) = $sandbox -> loadString ( 'return pcall( php.error )' )-> call ... キーワード: LuaSandbox Lua sandbox php function frobnosticate return usage code call assert Execute new output string error LuaSandboxRuntimeError Something wrong luaCode ...
-
https://man.mtool.work/php/8.3/luasandbox.examples-basic.html
- Basic usage for LuaSandbox 10106
- « 例 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
... ticate' => 'frobnosticate' , 'output' => function ( $string ) { echo " $string \n" ; }, 'error' => function () { throw new LuaSandboxRuntimeError ( "Something is wrong" ); } ] ); // Execute some Lua code, including callbacks into PHP and into Lua $luaCode = <<<EOF php ... i , $frob ) = $sandbox -> loadString ( $luaCode )-> call (); assert ( $frob -> call ( 4000 ) === [ 4242 ] ); // PHP-thrown LuaSandboxRuntimeError exceptions can be caught inside Lua list( $ok , $message ) = $sandbox -> loadString ( 'return pcall( php.error )' )-> call ... = 'Something is wrong' ); ?> 関連キーワード: LuaSandbox sandbox frobnosticate return usage code call assert Execute output LuaSandboxRuntimeError Something wrong luaCode list frob loadString message Once compiled support begin using safely user ...
-
https://man.mtool.work/php/8.3/luasandbox.examples-basic.html
- The LuaSandboxMemoryError class 8956
- « LuaSandboxFatalError LuaSandboxRuntimeError » PHP Manual LuaSandbox The LuaSandboxMemoryError class 検索 The LuaSandboxMemoryError class (PECL luasandbox >= 1.0.0) はじめに Exception thrown when Lua cannot allocate memory. クラス概要 clas
... string final LuaSandboxMemoryError class protected private int LuaSandboxFatalError LuaSandbox 継承 array Throwable Search LuaSandboxRuntimeError luasandbox はじめ thrown Lua ...
-
https://man.mtool.work/php/8.3/class.luasandboxmemoryerror.html
- The LuaSandboxSyntaxError class 8956
- « LuaSandboxRuntimeError LuaSandboxTimeoutError » PHP Manual LuaSandbox The LuaSandboxSyntaxError class 検索 The LuaSandboxSyntaxError class (PECL luasandbox >= 1.0.0) はじめに Exception thrown when Lua code cannot be parsed. クラス概要 cla
... 関連キーワード: Exception function string final LuaSandboxSyntaxError class protected private int code 継承 array Throwable LuaSandboxRuntimeError Search LuaSandboxTimeoutError LuaSandbox luasandbox はじめ thrown ...
-
https://man.mtool.work/php/8.3/class.luasandboxsyntaxerror.html
- The LuaSandboxMemoryError class 8956
- « LuaSandboxFatalError LuaSandboxRuntimeError » PHP Manual LuaSandbox The LuaSandboxMemoryError class 検索 The LuaSandboxMemoryError class (PECL luasandbox >= 1.0.0) はじめに Exception thrown when Lua cannot allocate memory. クラス概要 clas
... t() 関連キーワード: Exception final LuaSandboxMemoryError protected private LuaSandboxFatalError LuaSandbox 継承 Throwable LuaSandboxRuntimeError luasandbox thrown cannot allocate memory 概要 extends プロパティ message code line trace previous getMessage getPrevious ...
-
https://man.mtool.work/php/8.3/class.luasandboxmemoryerror.html
- The LuaSandboxSyntaxError class 8956
- « LuaSandboxRuntimeError LuaSandboxTimeoutError » PHP Manual LuaSandbox The LuaSandboxSyntaxError class 検索 The LuaSandboxSyntaxError class (PECL luasandbox >= 1.0.0) はじめに Exception thrown when Lua code cannot be parsed. クラス概要 cla
... Exception::__clone (): void } 関連キーワード: Exception final LuaSandboxSyntaxError protected private code 継承 Throwable LuaSandboxRuntimeError LuaSandboxTimeoutError LuaSandbox luasandbox thrown cannot parsed 概要 extends LuaSandboxFatalError プロパティ message lin ...
-
https://man.mtool.work/php/8.3/class.luasandboxsyntaxerror.html
- Wrap a PHP callable in a LuaSandboxFunction 8956
- « 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
... empty), or null which is equivalent to returning the empty array. 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 re ... empty functions unpauseUsageTimer luasandbox Wraps passed anonymous equivalent returning Exceptions raised errors however LuaSandboxRuntimeError exceptions caught inside pcall ...
-
https://man.mtool.work/php/8.3/luasandbox.wrapphpfunction.html
- LuaSandbox 8064
- « LuaClosure::__invoke インストール/設定 » PHP Manual その他の基本モジュール LuaSandbox 検索 LuaSandbox はじめに LuaSandbox is an extension for PHP 7 and PHP 8 to allow safely running untrusted Lua 5.1 code from within PHP. Differences comp
... rError class LuaSandboxFatalError — The LuaSandboxFatalError class LuaSandboxMemoryError — The LuaSandboxMemoryError class LuaSandboxRuntimeError — The LuaSandboxRuntimeError class LuaSandboxSyntaxError — The LuaSandboxSyntaxError class LuaSandboxTimeoutError — The Lu ...
-
https://man.mtool.work/php/8.3/book.luasandbox.html