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

    View Answer

    Workspace

    Discuss Discuss in Forum


  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

    View Answer

    Workspace

    Discuss Discuss in Forum


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

  6. A.

     TRUE

    B.

     FALSE

    View Answer

    Workspace

    Discuss Discuss in Forum