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===DONE=== 13--EXPECTF-- 14resource(%d) of type (gd) 15===DONE=== 16