> Just came across this:
> http://bugs.php.net/bug.php?id=23110
>
> I've been programming PHP since PHP 3
> and wasn't even aware of this behavior.
>
And now you are.
PHP is a loosely typed language. Odds are it's one of the things which
attracted you to it in the first place.
> "Numeric strings
On 4/19/05, Sara Golemon <[EMAIL PROTECTED]> wrote:
> > Just came across this:
> > http://bugs.php.net/bug.php?id=23110
> >
> > I've been programming PHP since PHP 3
> > and wasn't even aware of this behavior.
> >
> And now you are.
>
> PHP is a loosely typed language. Odds are it's one of the th
>
> 1
>
>
> (nothing, false)
>
>
> 1
>
> That confuses me more (but understandable, and thank God PHP behave
> this way)... I thought 'asdasd' is 0 when [implicitly] converted to
> int [for comparison]? I guess I never knew PHP well :-(
>
That would be the 'Roughly Speaking' and 'not precisely h
On 4/19/05, Sara Golemon <[EMAIL PROTECTED]> wrote:
> >
> > 1
> >
> >
> > (nothing, false)
> >
> >
> > 1
> >
> > That confuses me more (but understandable, and thank God PHP behave
> > this way)... I thought 'asdasd' is 0 when [implicitly] converted to
> > int [for comparison]? I guess I never k
Hi,
don't forget that PHP was made for web programming and in this
world you get from the user the input only as string therefore
(nothing, false)
>> Quite ok I will say. Nobody can enter '0' and pass through the check.
1
>> You don't cast the passwords, don't you?
One more thing, consider creat