Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed issue #1680: Update var dumping routines to include relevant information for interned strings and immutable arrays #486
Prompted by this question
It's not really appropriate to display a refcount for values that are not refcounted, so for interned strings and immutable arrays, show something relevant maybe ?
There's no test, the immutable arrays part would be dependent on opcache, and I'm not familiar enough with CI to know how that is setup.
derickr left a comment
Hey — yes, the idea sounds good. Should have been done ages ago. TBH, I am thinking to just use
It's unlikely that I'll merge this for Xdebug 2.8 though, as I want to be able to get that out soonish.
I would also prefer having a ticket (through https://bugs.xdebug.org), and use a commit message in the form of