Home / CSE / PHP - CS :: Operators and Expressions in php

CSE :: PHP - CS

  1. If you do something to an integer that makes it larger than the maximum allowable integer or smaller than the minimum possible integer, the PHP interpreter converts the result into a . . . . . 

  2. A.

     String

    B.

     Floating point number

    C.

     Integers

    D.

     None of above


  3. The result of below two statements will be:

    Round(2.5)

    Round(-2.5)

  4. A.

     2.5, -2

    B.

     2, -2

    C.

     3, -3

    D.

     3.5, -3.5


  5. PHP will automatically convert strings to numbers when it needs to.

  6. A.

     TRUE

    B.

     FALSE