Annotation of embedaddon/php/Zend/tests/bug60569.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #60569 (Nullbyte truncates Exception $message.)
        !             3: --FILE--
        !             4: <?php
        !             5: try {
        !             6:        $msg = "Some error \x00 message";
        !             7:        throw new Exception($msg);
        !             8: } catch(Exception $e) {
        !             9:        var_dump($e->getMessage(), $msg);
        !            10: }
        !            11: ?>
        !            12: --EXPECT--
        !            13: string(20) "Some error  message"
        !            14: string(20) "Some error  message"

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