- Notifications
You must be signed in to change notification settings - Fork8k
Closed
Description
Description
The following code:
<?php$data =pack('H*','fffe000000099999');$mime_type = (newfinfo(FILEINFO_MIME))->buffer($data);
Resulted in this output:
Warning: finfo::buffer(): Failed identify data 0:(null)
But I expected this output instead:
Something instead of '(null)'
PHP Version
PHP 8.3.2
Operating System
No response