xref: /PHP-7.3/Zend/tests/each_001.phpt (revision 06a03401)
1--TEST--
2Testing each() with an undefined variable
3--FILE--
4<?php
5
6each($foo);
7
8?>
9--EXPECTF--
10Deprecated: The each() function is deprecated. This message will be suppressed on further calls in %s on line %d
11
12Warning: Variable passed to each() is not an array or object in %s on line %d
13