The preg_replace() /e modifier is deprecated from PHP5.5.0.
Merge pull request #1422 from xianhuazhou/master

The preg_replace() /e modifier is deprecated from php5.5.0. Instead, use the preg_replace_callback() function.
Merge branch 'sonata/master'