Get If Bowser unterstützt WebP PHP

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