Bug #6073

ObjectAccess::getProperty() causes warning with array and non-existing property

Added by Karsten Dambekalns about 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Must have
Category:
Reflection
Start date:
2010-01-18
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

If you use getProperty() to ask for a non-existing property on an array, the input is eventually passed to get_object_vars(), which emits a warning because it expects an object.

#1

Updated by Karsten Dambekalns about 11 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Applied in changeset r3658.

Also available in: Atom PDF