VarDumper.php 706 Bytes
Newer Older
Alexander Makarov committed
1 2 3 4 5 6 7 8
<?php
/**
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2011 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

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

/**
 * 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
18 19
 *
 * ~~~
Alexander Makarov committed
20
 * VarDumper::dump($var);
Qiang Xue committed
21
 * ~~~
Alexander Makarov committed
22 23 24 25
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @since 2.0
 */
26
class VarDumper extends BaseVarDumper
Alexander Makarov committed
27
{
Zander Baldwin committed
28
}