Closed JohnKiller closed 8 years ago
$lua = new Lua(); $lua->assign('TEST', false); $result = $lua->eval('return TEST'); var_dump($result);
This incorrectly returns bool(true)
bool(true)
This also happens when returning value from PHP functions using RegisterCallback
it should be fixed. thanks
Thank you for the fast fix. Will this be released in PECL?
@JohnKiller I will probably do a release this weekend, thanks for reporting :)
$lua = new Lua(); $lua->assign('TEST', false); $result = $lua->eval('return TEST'); var_dump($result);
This incorrectly returns
bool(true)
This also happens when returning value from PHP functions using RegisterCallback