0

When we try to add string with integer or integer with string..what will be the answer.

when we try to add string with integer or integer with string with the help of + sign PHP automatically convert the string into appropriate integer and show the result in favour of integer becoz of + sign..if we use "." sign instead of + sign to add two different data types values the result will be in string favour.

14th Sep 2017, 7:50 AM
Gaurav
Gaurav - avatar
1 Réponse