Annotation of embedaddon/php/ext/date/tests/bug64157.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Test for bug #64157: DateTime::createFromFormat() reports confusing error message
        !             3: --CREDITS--
        !             4: Boro Sitnikovski <buritomath@yahoo.com>
        !             5: --INI--
        !             6: date.timezone = UTC
        !             7: --FILE--
        !             8: <?php
        !             9: DateTime::createFromFormat('s', '0');
        !            10: $lastErrors = DateTime::getLastErrors();
        !            11: print_r($lastErrors['errors'][0]);
        !            12: ?>
        !            13: --EXPECT--
        !            14: A two digit second could not be found

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