|
Posted by -Lost on 12/21/06 17:49
"Els" <els.aNOSPAM@tiscali.nl> wrote in message
news:ydcvw9wiyfpf.12113dok9338b.dlg@40tude.net...
> -Lost wrote:
>
>> Exactly. You are missing a ) though.
>
> Yup - noted, thanks.
>
>>> PHP.net gave a caution about the range() function:
>>> "In PHP versions 4.1.0 through 4.3.2, range() sees numeric strings as
>>> strings and not integers. Instead, they will be used for character
>>> sequences. For example, "4242" is treated as "4"."
>>>
>>> Would that cause trouble if I'd have
>>> $array = range(31,47);
>>> ?
>>
>> That would cause problems only if you passed strings to range() instead of integers.
>
> As in range('31','47')?
> What defines a string - the quotes?
Yep.
-Lost
Navigation:
[Reply to this message]
|