xref: /PHP-8.0/ext/gd/tests/bug73968.phpt (revision 8aad466c)
1--TEST--
2Bug #73968 (Premature failing of XBM reading)
3--SKIPIF--
4<?php
5if (!extension_loaded('gd')) die('skip gd extension not available');
6?>
7--FILE--
8<?php
9$im = imagecreatefromxbm(__DIR__ . DIRECTORY_SEPARATOR . 'bug73968.xbm');
10var_dump($im);
11?>
12--EXPECT--
13object(GdImage)#1 (0) {
14}
15