Obtenez si Bowser prend en charge Webp Php

if( strpos( $_SERVER['HTTP_ACCEPT'], 'image/webp' ) !== false ) {
    // webp is supported!
}
Amused Ant