1--TEST--
2Testing that imageloadfont() breaks on non-string first parameter
3--CREDITS--
4Neveo Harrison <neveoo [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(array()) );
12?>
13--EXPECTF--
14Warning: imageloadfont() expects parameter 1 to be a valid path, array given in %s on line %d
15NULL
16