Function pr
print_r() convenience function.
In terminals this will act similar to using print_r() directly, when not run on cli print_r() will also wrap
<
pre> tags around the output of given variable. Similar to debug().
This function returns the same variable that was passed.
Link:
https://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#pr
See:
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Located at Core/functions.php
See:
debug()
Copyright: Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Located at Core/functions.php
pr( mixed $var )
Parameters summary
mixed |
$var |
Variable to print out. |
Returns
-
mixed
the same $var that was passed to this function