Annotation of embedaddon/php/tests/lang/bug29566.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #29566 (foreach/string handling strangeness)
        !             3: --FILE--
        !             4: <?php
        !             5: $var="This is a string";
        !             6: 
        !             7: $dummy="";
        !             8: unset($dummy);
        !             9: 
        !            10: foreach($var['nosuchkey'] as $v) {
        !            11: }
        !            12: ?>
        !            13: ===DONE===
        !            14: --EXPECTF--
        !            15: Warning: Invalid argument supplied for foreach() in %sbug29566.php on line %d
        !            16: ===DONE===

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