Function wa_dump
Debug helper. Print all arguments and exit.
- Human-readable like print_r() for nested structures.
- Distinguishable like var_export() for plain values.
- Handles self-references correctly like print_r().
- Adds <pre> and escapes all output with htmlspecialchars(), unless in CLI mode.
- Shows both protected and private fields of objects.
- Skips huge objects like waSystem or Smarty in nested structures.