mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-28 10:10:04 +00:00
790311faa3
When passing an array from PHP to Lua, stringify integer array keys beyond the range a lua_Number can represent. When passing a table from Lua to PHP, * Avoid exponential encoding for integer keys beyond 1e14, so Zend PHP will interpret them as integers. * Always encode integer keys as integers, so HHVM will interpret them as integers. * Detect collisions, e.g. { [0] = 'foo', ["0"] = 'bar' } Bug: T186240 Change-Id: I078068ed57df078248a307608381614bdfc70801 |
||
---|---|---|
.. | ||
LuaCommon | ||
LuaSandbox | ||
LuaStandalone |