1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 01:02:25 +01:00
Files
archived-php-src/tests/lang/bug29566.phpt
Marcus Boerger 7ec9245c74 No short tags
2004-08-25 07:25:54 +00:00

17 lines
278 B
PHP
Executable File

--TEST--
Bug #29566 (foreach/string handling strangeness)
--FILE--
<?php
$var="This is a string";
$dummy="";
unset($dummy);
foreach($var['nosuchkey'] as $v) {
}
?>
===DONE===
--EXPECTF--
Warning: Invalid argument supplied for foreach() in %sbug29566.php on line %d
===DONE===