mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
11 lines
173 B
PHP
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
|