Variables View [PHP Debug Perspective]

The Variables view displays information about the variables associated with the stack frame selected in the Debug View. Selecting a variable will display details in the detail pane below the view. Expanding the list under a variable will display its fields.

Variables View

Note:

Right-click a variable and select Watchor Create Watch Expression to add the variable to the Expressions view.

Variables View Toolbar Commands

IconNameDescription
variables_view_show_type_names.pngShow Type NamesIf selected, type names will be displayed.
variables_view_show_logical_structure.pngShow Logical StructureShows the logical structure.
collapse_all_icon.pngCollapse AllCollapses the list.

Variables View Menu Commands

The view's menu can be accessed through the view menu icon menu_icon.png.

variables_view_menu.png

NameDescription
LayoutDefines the view's layout:
  • Vertical View Orientation - The details pane will be displayed at the bottom of the Variables view.
  • Horizontal View Orientation - The details pane will be displayed to the right of the Variables view.
  • Variables View Only - Only the Variables view will be displayed.
  • Show columns - Divide the view into columns.
  • Set Columns - Only available if "Show columns" is selected. Allows you to choose which of the following columns to display:
  • Name
  • Declared Type
  • Value
  • Actual Type

Note:

The Variables View [PHP Debug Perspective] is displayed by default as part of the Debug Perspective. To manually open the view, go to Window | Show View | Other | Debug | Variables.