Skip to content

LordSimal/php8.4-mimetype-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP 8.4 Mimetype Bug

This repository should demonstrate a bug in current PHP 8.4 Beta 5 related to mime_type detection.

In this particular case the method mime_content_type returns application/javascript instead of text/x-php.

To test this with Docker run the following commands:

docker compose up

In a separate terminal

docker exec -ti cakephp_app /bin/bash
php composer.phar install
php vendor/bin/phpunit tests/SimpleTest.php

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published