1. Question: Write the output of the following code? $p = 40; function add(){ $p= $p+2; }echo $p++;

    A
    41

    B
    40

    C
    42

    D
    43

    Note: Not available
    1. Report
  2. Question: The left association operator % is used in PHP for__

    A
    Percentage

    B
    Bitwise or

    C
    Division

    D
    Modulus

    Note: Not available
    1. Report
  3. Question: The left associative dot operator (.) is used in PHP for

    A
    Multiplication

    B
    Separate object and its member

    C
    Delimeter

    D
    Concatenation

    Note: Not available
    1. Report
  4. Question: Identify the variable scope that is not supported by PHP

    A
    Local variables

    B
    Function parameters

    C
    Global variables

    D
    Hidden variables

    Note: Not available
    1. Report
  5. Question: Which array checks if the specified key exists in the array?

    A
    Array_key_exist()

    B
    Array_keys_exist()

    C
    Arrays_key_exists()

    D
    array_key_exists()

    Note: Not available
    1. Report
  6. Question: There are three  different  kinds of arrays:

    A
    Numeric array, String array, Multidimensional array

    B
    Numeric array, String array, Dimensional array

    C
    Numeric array, Const array, Multidimensional array

    D
    Numeric array, Associative array, Multidimensional array

    Note: Not available
    1. Report
  7. Question: Which functions count elements in an array?

    A
    count

    B
    Size of

    C
    Count_array

    D
    array_count

    Note: Not available
    1. Report
  8. Question: Which functions adding a value to the front of  an array in php?

    A
    Unshift

    B
    array_unshift

    C
    array_shift

    D
    Shift

    Note: Not available
    1. Report
  9. Question: Echo is capable of outputting ______ strings.

    A
    multiple

    B
    single

    C
    boolean

    D
    void

    Note: Not available
    1. Report
  10. Question: Which is faster output system?

    A
    echo

    B
    print

    C
    printf

    D
    None

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