Commit 65ba36a
committed
Disallow asymmetric visibility on static properties
This check was forgotten in the original implementation. Relaxing this
restriction shouldn't be hard, but needs some work. We either need to prevent
merging of cache slots for R/RW/W, or we need to introduce an additional check
when writing to the property indirectly. This check is currently present only
for direct writes.1 parent 8aa3260 commit 65ba36a
File tree
2 files changed
+16
-0
lines changed- Zend
- tests/asymmetric_visibility
2 files changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8598 | 8598 | | |
8599 | 8599 | | |
8600 | 8600 | | |
| 8601 | + | |
| 8602 | + | |
| 8603 | + | |
| 8604 | + | |
8601 | 8605 | | |
8602 | 8606 | | |
8603 | 8607 | | |
| |||
0 commit comments