ica/New_York
Subject: [PHP] The Context of 0
[small rant]
This morning's thread on strpos() brings up an interesting point, zero
has a context.
In certain cases 0 is the equivalent of FALSE and in other cases a 0 is
just a 0. In the context of strpos() 0 indicates that the needle is in
the fir
On Tue, 2007-10-02 at 12:14 -0500, Jay Blanchard wrote:
> [small rant]
> This morning's thread on strpos() brings up an interesting point, zero
> has a context.
>
> In certain cases 0 is the equivalent of FALSE and in other cases a 0 is
> just a 0. In the context of strpos() 0 indicates that the n
[small rant]
This morning's thread on strpos() brings up an interesting point, zero
has a context.
In certain cases 0 is the equivalent of FALSE and in other cases a 0 is
just a 0. In the context of strpos() 0 indicates that the needle is in
the first position of the haystack. If the needle is not
3 matches
Mail list logo