Функция pr
Функция-обёртка для print_r().
В терминалах она ведет себя аналогично непосредственному использованию print_r(). Если выполняется не в командной строке, print_r() также добавляет теги
<
pre> вокруг вывода заданной переменной. Аналогично функции debug().
См.:
Ссылка: http://book.cakephp.org/3.0/ru/core-libraries/global-constants-and-functions.html#pr
Авторские права: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
Лицензия: MIT License
Расположение: Core/functions.php
debug()Ссылка: http://book.cakephp.org/3.0/ru/core-libraries/global-constants-and-functions.html#pr
Авторские права: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
Лицензия: MIT License
Расположение: Core/functions.php
pr( mixed $var )
Краткое описание параметров
mixed | $var | Переменная для вывода. |
© 2005–2016 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.
http://api.cakephp.org/3.2/function-pr.html