The preg replace callback array Function in PHP7

As of PHP 7 we can call this function passing over an array as the first argument (keys are regular expressions and values are the functions we want to execute for each one of them) and the input string as the second one.
Back to Top