No, I don't think so. preg_replace_callback seems to exist long time ago. I am on PHP 5.4 and tests are running fine.