1--TEST--
2Testing that imageloadfont() breaks on invalid file passed as first argument
3--CREDITS--
4Austin Drouare <austin.drouare [at] gmail [dot] com> #testfest #tek11
5--SKIPIF--
6<?php
7	if (!extension_loaded("gd")) die("skip GD not present");
8?>
9--FILE--
10<?php
11var_dump( imageloadfont('\src\invalidfile.font') );
12?>
13--EXPECTF--
14Warning: imageloadfont(\src\invalidfile.font): failed to open stream: No such file or directory in %s on line %d
15bool(false)
16