Issue #3062101 by Krzysztof Domański, larowlan: Incorrect data type when the preg_match function is used as the result of another function
mentioned in commit d739e727