Commit f78d5cf
committed
Allow ZEND_ACC_VIRTUAL to be used to not have property backing storage without resorting to hooks
This is useful to reduce the memory usage of objects that don't actually
use the backing storage. Examples are XMLReader and DOM. When the
properties were added to the stubs, these objects became much much
bigger, which is a waste of memory.
Closes GH-11644.
Work towards GH-13988.1 parent 606eb84 commit f78d5cf
2 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2916 | 2916 | | |
2917 | 2917 | | |
2918 | 2918 | | |
| 2919 | + | |
2919 | 2920 | | |
2920 | 2921 | | |
2921 | 2922 | | |
| |||
2929 | 2930 | | |
2930 | 2931 | | |
2931 | 2932 | | |
| 2933 | + | |
2932 | 2934 | | |
2933 | 2935 | | |
2934 | 2936 | | |
| |||
2939 | 2941 | | |
2940 | 2942 | | |
2941 | 2943 | | |
| 2944 | + | |
2942 | 2945 | | |
2943 | 2946 | | |
2944 | 2947 | | |
| |||
3054 | 3057 | | |
3055 | 3058 | | |
3056 | 3059 | | |
| 3060 | + | |
| 3061 | + | |
| 3062 | + | |
| 3063 | + | |
3057 | 3064 | | |
3058 | 3065 | | |
3059 | 3066 | | |
| |||
4454 | 4461 | | |
4455 | 4462 | | |
4456 | 4463 | | |
| 4464 | + | |
4457 | 4465 | | |
4458 | 4466 | | |
4459 | 4467 | | |
| |||
4465 | 4473 | | |
4466 | 4474 | | |
4467 | 4475 | | |
| 4476 | + | |
| 4477 | + | |
4468 | 4478 | | |
4469 | 4479 | | |
4470 | 4480 | | |
| |||
4493 | 4503 | | |
4494 | 4504 | | |
4495 | 4505 | | |
| 4506 | + | |
4496 | 4507 | | |
4497 | 4508 | | |
4498 | 4509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6041 | 6041 | | |
6042 | 6042 | | |
6043 | 6043 | | |
6044 | | - | |
| 6044 | + | |
6045 | 6045 | | |
6046 | 6046 | | |
6047 | 6047 | | |
| |||
0 commit comments