xref: /php-src/ext/fileinfo/tests/gh17039.phpt (revision f1b24da6)
1--TEST--
2GH-17039 (PHP 8.4: Incorrect MIME content type)
3--EXTENSIONS--
4fileinfo
5--FILE--
6<?php
7
8class Foo
9{
10    public function bar()
11    {
12        $this->baz(function () {});
13    }
14}
15
16echo mime_content_type(__FILE__);
17
18?>
19--EXPECT--
20text/x-php
21