feat(PHP): Remove deprecated preg_replace with '/e' modifier (closes #5034)