note 54359 deleted from function.in-array by felipe
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: rob at bronco dot co dot uk ---- For the "rediculous behaviour", a populated array is bool(true). This is documented. <?php var_dump((bool)Array(false)); // bool(true) var_dump((bool)Array()); // bool(false) ?>