Annotation of embedaddon/php/ext/standard/tests/serialize/bug42919.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #42919 (Unserializing of namespaced class object fails)
        !             3: --FILE--
        !             4: <?php
        !             5: namespace Foo;
        !             6: class Bar {
        !             7: }
        !             8: echo serialize(new Bar) . "\n";
        !             9: $x = unserialize(serialize(new Bar));
        !            10: echo get_class($x) . "\n";
        !            11: ?>
        !            12: --EXPECT--
        !            13: O:7:"Foo\Bar":0:{}
        !            14: Foo\Bar

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