Skip to content

mime_content_type returns application/javascript instead of text/x-php #15948

@LordSimal

Description

@LordSimal

Description

I prepared a GIT repository since it "just" happens with that specific file and not other PHP files I have tested till now.

But I don't understand why this was not an issue in previous PHP versions.

See https://github.com/LordSimal/php8.4-mimetype-bug

PHP Version

PHP 8.4.0 beta5

Operating System

Alpine via Docker

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions