Annotation of embedaddon/php/ext/gd/tests/imagefontwidth_basic.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Testing imagefontwidth() of GD library
                      3: --CREDITS--
                      4: Rafael Dohms <rdohms [at] gmail [dot] com>
                      5: #testfest PHPSP on 2009-06-20
                      6: --SKIPIF--
                      7: <?php 
                      8:        if (!extension_loaded("gd")) die("skip GD not present");
                      9: ?>
                     10: --FILE--
                     11: <?php
                     12: var_dump(imagefontwidth(1),imagefontwidth(2),imagefontwidth(3),imagefontwidth(4),imagefontwidth(5));
                     13: var_dump(imagefontwidth(1) < imagefontwidth(5));
                     14: ?>
                     15: --EXPECT--
                     16: int(5)
                     17: int(6)
                     18: int(7)
                     19: int(8)
                     20: int(9)
                     21: bool(true)

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>