I've been working with PHP for a while now, and recently I came across some changes in PHP7 that I'm a little confused about. Specifically, I'm trying to understand the differences between the zval container in PHP5 and PHP7.
I'm aware that the zval container is used to store variables in PHP's internal memory representation. However, I'm not sure how references and variables are stored and handled in PHP7 compared to PHP5. Can someone shed some light on this for me?
I would really appreciate it if someone could explain how references and variables are stored in the zval container in PHP7 compared to PHP5. Maybe even share some code examples to help me better understand the concept. Thanks in advance!