PHP 클래스 Prado\Util\TVarDumper

TVarDumper 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. TVarDumper can be used as follows, echo TVarDumper::dump($var);
부터: 3.0
저자: Qiang Xue ([email protected])
파일 보기 프로젝트 열기: pradosoft/prado 1 사용 예제들

공개 메소드들

메소드 설명
dump ( $var, $depth = 10, $highlight = false ) : string Converts a variable into a string representation.

비공개 메소드들

메소드 설명
dumpInternal ( $var, $level )

메소드 상세

dump() 공개 정적인 메소드

This method achieves the similar functionality as var_dump and print_r but is more robust when handling complex objects such as PRADO controls.
public static dump ( $var, $depth = 10, $highlight = false ) : string
리턴 string the string representation of the variable