> > <!ENTITY return.falseproblem '<warning><simpara>This function may
> > return &false;, but may also return a value evaluating to &false; in
> > a simple if statement. Please use <link
> > linkend="language.operators.comparison">the === operator</link> for
> > testing the return value of this
> > function.</simpara></warning>'>
> >
> > found in 'language-snippets.ent', but i cant get the meaning of this
> > sentence: "but may also return a value evaluating to &false; in a
> > simple if statement".
> 
> The sentence is attempting to explain that some functions 
> may return values that can be interpreted as false within
> a conditional block.

Anybody can correct that sentence if you think it is not clear
in english :) The intention of using this entity is to write
a separate 'pitfall section' for this and put a link in this
entity to that place, so people can find out some more info,
and examples about why putting a function in a simple if
can cause problems...

Goba

Reply via email to