mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
20 lines
387 B
Plaintext
20 lines
387 B
Plaintext
|
--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)
|