Bug #6005
ObjectAccess::getProperty() behaves not as documented when property does not exist
Status:
Resolved
Priority:
Should have
Assignee:
Category:
Reflection
Target version:
Start date:
2010-01-13
Due date:
% Done:
100%
PHP Version:
Has patch:
Complexity:
Description
The method should throw an exception as per it's documentation, but returns NULL, which is not really the same thing (think '' vs. NULL).
Related issues
Associated revisions
[+BUGFIX] FLOW3 (Reflection): ObjectAccess::getProperty() now throws an exception when a property does not exist, fixes #6005.
[~TASK] FLOW3 (Reflection): GenericObjectValidator now checks properties even if they are not accessible normally.
History
#1
Updated by Karsten Dambekalns almost 10 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r3739.