1. Question: How do we declare constants variable?

    A
    constants $varname

    B
    varname constants

    C
    define()

    D
    $$varname

    Note: Not available
    1. Report
  2. Question: What are the difference between print and echo?

    A
    echo faster than print

    B
    echo return value

    C
    print return value

    D
    echo return true

    Note: Not available
    1. Report
  3. Question:  ______________ data type are used to represent a single value.

    A
    Boolean

    B
    Scalar

    C
    Number

    D
    String

    Note: Not available
    1. Report
  4. Question: Which are the example of compound data type?

    A
    array

    B
    object

    C
    String

    D
    Float

    Note: Not available
    1. Report
  5. Question: Which statement is true about Type Juggling?

    A
    Varibles are sometimes automatically cast.

    B
    Convert on data type to another

    C
    Convert to object to Data Type

    Note: Not available
    1. Report
  6. Question: How to get the type of the variable?

    A
    using getDataType function

    B
    using gettype function

    C
    datatype()function

    D
    settype() function

    Note: Not available
    1. Report
  7. Question: How to convert types?

    A
    using getDataType function

    B
    using gettype function

    C
    datatype() function

    D
    settype() function

    Note: Not available
    1. Report
  8. Question: Which of the example is reference assignment?

    A
    $value=”Hello”  $value2=$value

    B
    $$value=”Hello”  $value2=$value

    C
    $value=”Hello”  $value2=&$value

    Note: Not available
    1. Report
  9. Question: PHP comments for a single line have the following syntax:

    A
    /* comments /*

    B
    #

    C
    //

    D
    ::

    Note: Not available
    1. Report
  10. Question: In PHP, instructions are terminated with a _______.

    A
    ;

    B
    #

    C
    !

    D
    %>

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd