summaryrefslogtreecommitdiff
path: root/ext/gd/tests/imagefontheight_basic.phpt
blob: 65d6ec15bbe02af6cfb56fbcde72015e4faed39c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--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)