All cleared out,Thanks Dude :D

On 14 May, 13:35, "Ammar Ibrahim" <[EMAIL PROTECTED]> wrote:
> On Wed, May 14, 2008 at 12:55 PM, Codec <[EMAIL PROTECTED]> wrote:
>
> > here is a change of the values :) now check it out...
>
> > Note1 seems to behave as concatenated string at a point and at another
> > Point behaves as a mathematical operation.....
>
> No it doesn't, if you follow the following simple rules, you will be able
> solve all the ambiguity:
>
> 1- Concatenation changes the type of the operands to string
> 2- Addition changes the type of operands to int (or float, depending on
> rules which are irrelevant to the examples above)
> 3- When changing type from string to int, follow the following rules on this
> page:http://www.php.net/types.string, scroll down to the section
> "converting strings to numbers"
>
> Let me know if you would like further clarification
>
> Ammar
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Jordan PHP Users Group" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/JoPHP
http://Jolug.org/
-~----------~----~----~----~------~----~------~--~---

Reply via email to