- var_dump: documentation ( source)
<?php
/**
* ClassDocComment
*
* @copyright Copyright (c) 2011
* @author author
* @see http://php.net
*/
class ClassDocComment {
/**
* Some Doc comment
*/
private $comment;
}
#echo (new ReflectionClass ('ClassDocComment'))->getDocComment();
var_dump ((string) new ReflectionClass ('ClassDocComment'));