Commit ddc8e2b
Add test for arrays containing objects to validate fix for #125
Adds testInstanceCompileArrayWithObjects to ensure arrays containing
objects (e.g., [new DeleteCookieInvoker(), '__invoke']) are properly
serialized instead of using var_export(), which would cause fatal errors.
This test validates the core issue from #125 where var_export() cannot
handle arrays containing objects.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 518f61f commit ddc8e2b
1 file changed
+17
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
57 | 74 | | |
58 | 75 | | |
59 | 76 | | |
| |||
0 commit comments