Test function getimagesize() in php

Array
(
    [0] => 228
    [1] => 87
    [2] => 3
    [3] => width="228" height="87"
    [bits] => 8
    [mime] => image/png
)

Code:
$filename = __DIR__ . '/../images/logo_couleur_w3c.png';
echo htmlspecialchars(print_r(getimagesize($filename), true);


Results:
Array
(
    [0] => 228
    [1] => 87
    [2] => 3
    [3] => width="228" height="87"
    // new in PHP 8.?
    [bits] => 8
    [mime] => image/png
)
Source image: https://yansanmo.progysm.com/images/logo_couleur_w3c.png