> >     Can we please agree that a function whose primary return
> >     type is LONG/STRING/ARRAY/RESOURE/OBJECT and which may return
> >     FALSE/NULL _only_ in error condition has _not_ a mixed return
> >     value but has listed only its primary return value.
> >
> >     Its less intuitive for users "mixed? was it now int or
> >     string.. or even array ?" but it rather makes sense that
> >     almost all functions return NULL/FALSE when encountering
> >     error conditions without setting the return type to mixed
> >     explicitely.
> 
> +1

+1 Added to conventions in the howto. Also added a note about
using &return.success; in TRUE/FALSE only cases.

Goba


Reply via email to