### Description The following code: https://3v4l.org/kihD6 ```php <?php var_dump(preg_match('/.*/', hex2bin('ff'))); var_dump(preg_match('/^$/', hex2bin('ff'))); var_dump(preg_match('/.*/u', hex2bin('ff'))); var_dump(preg_grep('/.*/u', [hex2bin('ff')])); ``` Resulted in this output: ``` int(1) int(0) bool(false) array(0) { } ``` But I expected this output instead: ``` int(1) int(0) bool(false) bool(false) ``` ### PHP Version any ### Operating System any