PATH:
opt
/
alt
/
tests
/
alt-php85-pecl-luasandbox_4.1.2-3.el8
/
tests
--TEST-- loadString 1 --FILE-- <?php var_dump($sandbox = new LuaSandbox); var_dump($f = $sandbox->loadString('foo()')); try { $f = $sandbox->loadString('foo'); } catch( Exception $e ) { print $e->getMessage(); } --EXPECTF-- object(LuaSandbox)#1 (0) { } object(LuaSandboxFunction)#2 (0) { } [string ""]:1: '=' expected near '<eof>'
[-] loadString.phpt
[edit]
[-] lua_catches_php_exception.phpt
[edit]
[-] datatypes-unsupported.phpt
[edit]
[-] profiler-sorting.phpt
[edit]
[-] LuaSandboxFunction_construct.phpt
[edit]
[-] callback_exception.phpt
[edit]
[-] errors-at-call-boundaries.phpt
[edit]
[-] pcall.phpt
[edit]
[+]
..
[-] reentrant.phpt
[edit]
[-] datatypes.phpt
[edit]
[-] array-key-conversion.phpt
[edit]
[-] profiler.phpt
[edit]
[-] call.phpt
[edit]
[-] extending-LuaSandbox.phpt
[edit]
[-] xpcall.phpt
[edit]
[-] ipairs.phpt
[edit]
[-] pairs.phpt
[edit]
[-] dump_loadBinary_call.phpt
[edit]