unread
De : Michael Wallner [mailto:mike.php.net@gmail.com] De la part de Michael
WallnerI think the || behaviour is the most useful, as its the analogue of
issets. So !empty($a, $b, $c) would work similarly to isset($a, $b,
$c), and similarly, !isset($a, $b, $c) would work similarly to
empty($a, $b, $c).But thats just my opinion. :)
Okay, while I think it has a tiny WTF attached, because isset() has ALL
semantics and empty() would have ANY semantics, it's probably useful
only in that way.
Agreed. Adds an ambiguity but would be useless otherwise.
May I suggest to extend your proposal to is_null()
with the same logic ?
François