php-src/Zend/tests/each_001.phpt
2008-05-12 17:57:21 +00:00

11 lines
173 B
PHP

--TEST--
Testing each() with an undefined variable
--FILE--
<?php
each($foo);
?>
--EXPECTF--
Warning: Variable passed to each() is not an array or object in %s on line %d