Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional Information for References in Arrays #2762

Open
Sunthief opened this issue Sep 12, 2023 · 0 comments
Open

Additional Information for References in Arrays #2762

Sunthief opened this issue Sep 12, 2023 · 0 comments

Comments

@Sunthief
Copy link

From manual page: https://php.net/language.references.whatdo


I think it would make a lot of sense to add the piece of information that references inside arrays are highlighted as such when using var_dump() with the array. I am talking about something like this:

array(4) {
  [0]=>
  int(0)
  [1]=>
  &int(1)
  [2]=>
  int(2)
  [3]=>
  int(3)
}

It seems that this piece of information is neither available in the chapter on references nor in the definition of var_dump():
https://www.php.net/manual/en/language.references.whatdo.php and https://www.php.net/manual/en/function.var-dump. I think it should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant