⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bug36337.phpt

📁 PHP v6.0 For Linux 运行环境:Win9X/ WinME/ WinNT/ Win2K/ WinXP
💻 PHPT
字号:
--TEST--Reflection Bug #36337 (ReflectionProperty fails to return correct visibility)--SKIPIF--<?php extension_loaded('reflection') or die('skip'); ?>--FILE--<?phpabstract class enum {    protected $_values;    public function __construct() {        $property = new ReflectionProperty(get_class($this),'_values');        var_dump($property->isProtected());    }}final class myEnum extends enum {    public $_values = array(           0 => 'No value',       );}$x = new myEnum();echo "Done\n";?>--EXPECT--	bool(false)Done

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -