Chaim Frenkel writes:
> Somehow I find
>       if (40 == ($foo = substr($bar, index($bar, 'xyz')))) {
>       }

I don't understand your hypothetical code.  substr() returns the
substring of $bar from the position retutned by index, onward.
When would this be 40, if index is going to return the position
of 'xyz'?

I guess I can't understand your idea of safe failure until I
see an example, and this doesn't seem to be it.

Nat

Reply via email to