User tests: Successful: Unsuccessful:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=31197
option /e was marked as deprecated since PHP 5.5.0
( ! ) Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ~\libraries\joomla\filter\input.php on line 664
regards,
Yurii
This PR was directed towards CMS 3.x which has a minimum of PHP 5.3.1. So it's good to go here. In 2.5, it's committed at 341512f and using this same block. Since we don't change the tech requirements mid-cycle, a solution will need to be found for 2.5 users on PHP 5.2 still (aside from the obvious message of upgrade already ).
Keep in mind that if they use this code, they will have to bump the minimum version requirements for joomla. They list the minimum as 5.2.4, but anonymous functions in that style don't exist until 5.3.0.