[ot]> I don't, I prefer to be a little more explicit. Given php's loose typing, or rather the handling of it, I do worry that the casting behaviour is somewhat uncertain.
Could you give any examples to clarify your uncertainty? Casting the result to bool will do, to my understanding, the same as your comparison to 1 (since TRUE will never be returned); I'm not sure where your worries over loose typing come into play?
> strpbrk() huh? I wonder what it stands for... It looks like 'Spring Break'.
I cannot answer this authoritatively but I believe comes from "string [return] [b]p[/b]ointer [to] [b]br[/b]eak" (see GNU C lib manual page for string search functions). As logical a function name as any. :shifty: