php-src/ext/gd/tests/imagefontheight_basic.phpt
2009-07-01 00:56:01 +00:00

20 lines
387 B
PHP

--TEST--
Testing imagefontheight() of GD library
--CREDITS--
Rafael Dohms <rdohms [at] gmail [dot] com>
#testfest PHPSP on 2009-06-20
--SKIPIF--
<?php
if (!extension_loaded("gd")) die("skip GD not present");
?>
--FILE--
<?php
var_dump(imagefontheight(1),imagefontheight(2),imagefontheight(3),imagefontheight(4),imagefontheight(5));
?>
--EXPECT--
int(8)
int(13)
int(13)
int(16)
int(15)