Type juggling

PHP will try to determine a type of a variable by the context of the operation. For example if two integers are added to each other, then the result is also will be an integer, however if one integer is divided by another, the result is likely to be a floating number.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator