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

📄 bug30209.phpt

📁 PHP v6.0 For Linux 运行环境:Win9X/ WinME/ WinNT/ Win2K/ WinXP
💻 PHPT
字号:
--TEST--Reflection Bug #30209 (ReflectionClass::getMethod() lowercases attribute)--SKIPIF--<?php extension_loaded('reflection') or die('skip'); ?>--FILE--<?phpclass Foo{	private $name = 'testBAR';	public function testBAR()	{		try		{			$class  = new ReflectionClass($this);			var_dump($this->name);			$method = $class->getMethod($this->name);			var_dump($this->name);		}		catch (Exception $e) {}	}}$foo = new Foo;$foo->testBAR();?>===DONE===--EXPECTF--string(7) "testBAR"string(7) "testBAR"===DONE===--UEXPECTF--unicode(7) "testBAR"unicode(7) "testBAR"===DONE===

⌨️ 快捷键说明

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