VarDumper.php 655 Bytes
Newer Older
Alexander Makarov committed
1 2 3
<?php
/**
 * @link http://www.yiiframework.com/
Carsten Brandt committed
4
 * @copyright Copyright (c) 2008 Yii Software LLC
Alexander Makarov committed
5 6 7
 * @license http://www.yiiframework.com/license/
 */

Qiang Xue committed
8
namespace yii\helpers;
Alexander Makarov committed
9 10 11 12 13 14 15 16

/**
 * VarDumper is intended to replace the buggy PHP function var_dump and print_r.
 * It can correctly identify the recursively referenced objects in a complex
 * object structure. It also has a recursive depth control to avoid indefinite
 * recursive display of some peculiar variables.
 *
 * VarDumper can be used as follows,
Qiang Xue committed
17 18
 *
 * ~~~
Alexander Makarov committed
19
 * VarDumper::dump($var);
Qiang Xue committed
20
 * ~~~
Alexander Makarov committed
21 22 23 24
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
25
class VarDumper extends BaseVarDumper
Alexander Makarov committed
26
{
Zander Baldwin committed
27
}