Lua::evalEvaluate a string as Lua code Description
public mixed Lua::eval
( string
$statements
)
Warning
This function is currently not documented; only its argument list is available. Parameters
Return Values
Returns result of evaled code, ExamplesExample #1 Lua::evalexample
<?php The above example will output: 2 |