Annotation of embedaddon/php/ext/standard/tests/array/bug25758.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #25758 (var_export does not escape ' & \ inside array keys)
        !             3: --FILE--
        !             4: <?php
        !             5:        $a = array ("quote'" => array("quote'"));
        !             6:        echo var_export($a, true);
        !             7: ?>
        !             8: --EXPECT--
        !             9: array (
        !            10:   'quote\'' => 
        !            11:   array (
        !            12:     0 => 'quote\'',
        !            13:   ),
        !            14: )

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