xref: /PHP-7.4/ext/gd/tests/imagetypes_bmp.phpt (revision 782f45c8)
1--TEST--
2imagetypes() - BMP support
3--SKIPIF--
4<?php
5if (!extension_loaded('gd')) die('skip ext/gd required');
6?>
7--FILE--
8<?php
9var_dump((imagetypes() & IMG_BMP) == function_exists('imagebmp'));
10?>
11--EXPECT--
12bool(true)
13