On Wed, 2 Nov 2022 at 18:51, Claude Pache <claude.pa...@gmail.com> wrote:

>
>
> > 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


This is absolutely terrifying.

Marco Pivetta

https://twitter.com/Ocramius

https://ocramius.github.io/

Reply via email to