/CakePHP 3.8

Function dd

Prints out debug information about given variable and dies.

Only runs if debug mode is enabled. It will otherwise just continue code execution and ignore this function.

Link: https://book.cakephp.org/3.0/en/development/debugging.html#basic-debugging
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Located at basics.php
dd( mixed $var , boolean|null $showHtml = null )

Parameters summary

mixed $var Variable to show debug information for.
boolean|null $showHtml = null If set to true, the method prints the debug data in a browser-friendly way.

© 2005–present The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.