in PHP by

What happens if you add a string to an integer using the + operator?

A) The interpreter outputs a type mismatch error
B) The string is converted to a number and added to the integer
C) The string is discarded and the integer is preserved

D) The integer and string are concatenated together in a new string

E) The integer is discarded and the string is preserved

1 Answer

0 votes
by

The string is converted to a number and added to the integer

...