From:             [EMAIL PROTECTED]
Operating system: Windows/Linux
PHP version:      6CVS-2008-11-18 (snap)
PHP Bug Type:     Reflection related
Bug description:  ReflectionClass::getProperty() fails

Description:
------------
ReflectionClass::getProperty() returns a NULL on PHP 6 - it works as 
expected on PHP 5.3 and 5.2.6. There are some tests now checked into 
CVS that show the unexpected behaviour:

ext/reflection/tests/ReflectionClass_getProperty_001.phpt
ext/reflection/tests/ReflectionClass_getProperty_003.phpt
ext/reflection/tests/ReflectionClass_getProperty_004.phpt

These tests have been marked with an --XFAIL-- section so they should 
show up as expected failures.

Reproduce code:
---------------
See the following tests  in CVS:

ext/reflection/tests/ReflectionClass_getProperty_001.phpt
ext/reflection/tests/ReflectionClass_getProperty_003.phpt
ext/reflection/tests/ReflectionClass_getProperty_004.phpt

Expected result:
----------------
083- --> Check for a: Property a does not exist

Actual result:
--------------
083+ --> Check for a: NULL

-- 
Edit bug report at http://bugs.php.net/?id=46604&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=46604&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=46604&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=46604&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=46604&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=46604&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=46604&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=46604&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=46604&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=46604&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=46604&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=46604&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=46604&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=46604&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=46604&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=46604&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=46604&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=46604&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=46604&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=46604&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=46604&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=46604&r=mysqlcfg

Reply via email to