Task #55958

RFC: Use PHP 5.4 closure features for direct ObjectAccess

Added by Christopher Hlubek over 5 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-02-13
Due date:
% Done:

0%

Sprint:
PHP Version:
Has patch:
No
Complexity:

Description

We can get rid of PropertyReflection in ObjectAccess with a PHP 5.4 feature of binding closures to object instances.

See this article: http://ocramius.github.io/blog/accessing-private-php-class-members-without-reflection/

A general decision would be needed if we drop support of PHP 5.3 with the next Flow release.

Also available in: Atom PDF