Zend Studio allows you to review variables on the fly when a breakpoint is reached. You can view a variable value by simply placing the cursor over the variable. The variable value is displayed in a Tooltip box.
Tooltips can also be displayed for expressions. In order to display a tooltip for an expression, the expression must be selected. Once selected, pass the cursor over the highlighted expression and the tooltip appears with the value of the expression.
Values can display Null when a Debug Session is inactive or when a particular expression(s) is not available to the script.
The Tooltip can be customized to display the variable in serialized form. For example, a variable $myArray displays the same as the return value of the PHP function serialize($myArray).
|
|
|
|
|
Related Links: Assigning a New Value to a Variable |
|
|
|