📄 bug36308.phpt
字号:
--TEST--Reflection Bug #36308 (ReflectionProperty::getDocComment() does not reflect extended class commentary)--SKIPIF--<?php extension_loaded('reflection') or die('skip'); ?>--FILE--<?phpclass Base { /** Base comment block */ public $foo = 'bar';}class Extended extends Base { /** Extended commentary */ public $foo = 'zim';}$reflect = new ReflectionClass('Extended');$props = $reflect->getProperties();echo $props[0]->getDocComment();?>--EXPECT--/** Extended commentary */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -