Use in preg_replace_callback() using variables by reference and test for
bug #64979