> Le 2 nov. 2022 à 09:12, Michał Marcin Brzuchalski 
> <michal.brzuchal...@gmail.com> a écrit :
> 
> P.S. I don't see it feasible to have objects that evaluate false in
> logical expressions.

For better or for worse (IMHO, for worse), `SimpleXMLElement` instances 
representing attributeless empty elements are already falsy, so yes, it is 
absolutely feasible.

—Claude

Reply via email to