Annotation of embedaddon/php/ext/standard/tests/general_functions/var_export_basic9.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #55082: var_export() doesn't escape properties properly
                      3: --FILE--
                      4: <?php
                      5:        $x = new stdClass();
                      6:        $x->{'\'\\'} = 7;
                      7:        echo var_export($x);
                      8: --EXPECT--
                      9: stdClass::__set_state(array(
                     10:    '\'\\' => 7,
                     11: ))

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