Skip to content

write the inspect variables guide page - #16

Merged
carlos-granados merged 1 commit into
mainfrom
inspect-variables
Sep 5, 2026
Merged

write the inspect variables guide page#16
carlos-granados merged 1 commit into
mainfrom
inspect-variables

Conversation

@carlos-granados

Copy link
Copy Markdown
Contributor

Replaces the inspect variables placeholder with the full guide page, IDE-agnostic throughout.

Covers stack levels and selecting an outer frame, what the variables panel shows and why arrays and objects arrive collapsed, and the three variable groups.

Verified against handler_dbgp.c:

  • the three contexts are exactly Locals, Superglobals and User defined constants
  • level 0 is the frame where execution stopped, counting outwards to the entry point
  • the constants context only includes PHP_USER_CONSTANT, so PHP's own constants and those from extensions never appear — which is part of why the group is so often empty
  • max_children, max_data and max_depth are negotiated per session via feature_set, so the editor's values override the ini defaults. The page sends people to their editor's settings rather than to php.ini.

@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-05 13:39 UTC

@carlos-granados
carlos-granados merged commit 13fb7fd into main Sep 5, 2026
1 check passed
@carlos-granados
carlos-granados deleted the inspect-variables branch September 5, 2026 13:39
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

Successfully merging this pull request may close these issues.

1 participant