mediawiki-extensions-Scribunto/tests/phpunit/engines
Brad Jorsch 790311faa3 Sanify handling of array keys
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
2018-02-06 17:13:20 -05:00
..
LuaCommon Improve some parameter docs 2018-01-11 21:27:53 +01:00
LuaSandbox Treat phpdbg as being run from the command-line 2018-01-10 19:47:19 +05:30
LuaStandalone Sanify handling of array keys 2018-02-06 17:13:20 -05:00