Annotation of embedaddon/php/ext/gettext/tests/gettext_gettext_error_wrongparams.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Check how gettext() with wrong parameters behaves.
        !             3: --SKIPIF--
        !             4: <?php 
        !             5:        if (!extension_loaded("gettext")) {
        !             6:                die("skip extension gettext not loaded\n");
        !             7:        }
        !             8: ?>
        !             9: --FILE--
        !            10: <?php 
        !            11: gettext (array());
        !            12: ?>
        !            13: --EXPECTF--
        !            14: Warning: gettext() expects parameter 1 to be string, array given in %s on line 2
        !            15: --CREDITS--
        !            16: Moritz Neuhaeuser, info@xcompile.net
        !            17: PHP Testfest Berlin 2009-05-09

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