Atitit. Design and implementation of breakpoint single-step debugging in scripting language attialx summary php references java
1. Breakpoint Implementation: Manual breakpoint Die and exit are equivalent 1
2. The implementation of the variable table 1
3. Print_r ($vars _list); 1
4. Both Print_r and var_dump can output arrays and objects. 1
5. References 2
1. Implementation of breakpoints: manual breakpointsDie and exit are equivalent.2. Implementation of variable tables
$vars _list= Array ();
Put the variable table UI:
。
Global $vars _list;
$vars _list["tab"]= $table;
Show variable table
Print_r ($vars _list);
Author:: Old Wow's paw attilax Ayron, email:[email protected]
Reprint please indicate source: Http://blog.csdn.net/attilax
3. Print_rand theVar_dumpcan output arrays and objects,
But the output of the print_r is not obvious to the Boolean type, and the var_dump output is more specific than the general debugging.
4. References
PHP Breakpoint Debugging Several methods of discussion -PHP Programming _ Kaka net . htm
Atitit. Design and implementation of breakpoint single-step debugging in scripting language ATTIALX summary php references Java