0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-11-08 14:48:40 +00:00
Commit Graph

6 Commits

Author SHA1 Message Date
Stefan Siegl
6399b49b3f Improve ArrayAccess enumeration
When enumerating an ArrayAccess-style object the array keys should be
returned, not the method names & properties of the PHP object.
2014-11-30 21:00:42 +01:00
Stefan Siegl
2b897e8bc4 Export extra methods on ArrayAccess
This merges the distinct code path for the export of ArrayAccess
capable PHP objects back into the "common" PHP object export code.
Sole difference is that the ArrayAccess-style object has index
property handlers as well as property bridging to Array.prototype.
2014-11-29 20:35:32 +01:00
Stefan Siegl
d494a22644 Use hidden value instead of internal field
Just a preparation to mix the array access stuff with the name-based
property accessors.
2014-11-29 15:16:58 +01:00
Stefan Siegl
94a889b2cb Fix ZTS build + memory leak 2014-11-25 22:55:17 +00:00
Stefan Siegl
1efd91b29a Add array access offsetSet support 2014-11-25 23:43:21 +01:00
Stefan Siegl
ddcaee47d6 Refactor array access code into seperate files 2014-11-25 21:06:11 +01:00