> De : Michael Wallner [mailto:mike.php....@gmail.com] De la part de Michael Wallner > > > I 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php