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

1.1     ! misho       1: --TEST--
        !             2: Bug #49866 (Making reference on string offsets crashes PHP)
        !             3: --FILE--
        !             4: <?php
        !             5: $a = "string";
        !             6: $b = &$a[1];
        !             7: $b = "f";
        !             8: echo $a;
        !             9: --EXPECTF--
        !            10: Fatal error: Cannot create references to/from string offsets nor overloaded objects in %sbug49866.php on line 3

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