Fixes #4819 replace preg replace with /e preg replace callback

contains an ugly hack to support both PHP 5.2 and PHP 5.5:
used a temporary static protected variable to "pass" argument
from function `censor` to `_censor_preg_replace_callback`