xref: /PHP-5.3/tests/lang/empty_variation.phpt (revision 801c7952)
1--TEST--
2empty() on array elements
3--FILE--
4<?php
5$a=array('0','empty'=>'0');
6var_dump(empty($a['empty']));
7var_dump(empty($a[0]));
8$b='0';
9var_dump(empty($b));
10?>
11--EXPECT--
12bool(true)
13bool(true)
14bool(true)
15