php-src/ext/gd/tests/imagefontwidth_basic.phpt
Christoph M. Becker a375d54785
Migrate skip checks to --EXTENSIONS-- for ext/gd
Cf. PR #6787.

Closes GH-6994.
2021-05-22 15:38:51 +02:00

20 lines
376 B
PHP

--TEST--
Testing imagefontwidth() of GD library
--CREDITS--
Rafael Dohms <rdohms [at] gmail [dot] com>
#testfest PHPSP on 2009-06-20
--EXTENSIONS--
gd
--FILE--
<?php
var_dump(imagefontwidth(1),imagefontwidth(2),imagefontwidth(3),imagefontwidth(4),imagefontwidth(5));
var_dump(imagefontwidth(1) < imagefontwidth(5));
?>
--EXPECT--
int(5)
int(6)
int(7)
int(8)
int(9)
bool(true)