horde/horde — pull request #47 by remicollet (2013-05-07 17:17:09+00:00)
Title: use preg_replace_callback() instead of preg_replace() 

Starting with php 5.5 preg_replace() with /e modifier is deprecated.

This patch proposal is compatible with older version.
Should be also faster (single pass).