php-lua
php-lua copied to clipboard
Integer support
在新版本的lua中已经可以区分integer和double了,这就可以解决扩展统一把lua的number类型转换成php的double的问题
$lua->eval("a=2");
// old
gettype($lua->a); // double
// new
gettype($lua->a); // integer