xref: /PHP-5.6/Zend/tests/each_001.phpt (revision e35c4579)
1--TEST--
2Testing each() with an undefined variable
3--FILE--
4<?php
5
6each($foo);
7
8?>
9--EXPECTF--
10Warning: Variable passed to each() is not an array or object in %s on line %d
11