1. Question: Which function divides the string str into an array of substrings ?

    A
    explode()

    B
    strtok()

    C
    str()

    D
    exploded()

    Note: Not available
    1. Report
  2. Question: Which function offers information regarding the total number of words found in a string?

    A
    str_word_count()

    B
    str_words_count()

    C
    str_words_counts()

    D
    str_word_counts()

    Note: Not available
    1. Report
  3. Question: Type hinting only works for _______

    A
    objects

    B
    arrays

    C
    all

    D
    variables

    Note: Not available
    1. Report
  4. Question: Which of the following character is used to represent the logical opretor NOT?

    A
    !

    B
    >=

    C
    <=

    D
    ~

    Note: Not available
    1. Report
  5. Question: Which of the following option is true?

    A
    Constructors can accept parameters, which are assigned to specific object properties at creation time.

    B
    Constructors can call class methods or other functions.

    C
    Class constructors can call on other constructors, including those from the class parent.

    D
    All

    Note: Not available
    1. Report
  6. Question: Which of the following correct Error Level Description?

    A
    E_USER_ERROR it refers User-generated errors

    B
    E_USER_ERROR it refers User-generated notices

    C
    E_USER_ERROR it refers User-generated warnings

    D
    None

    Note: Not available
    1. Report
  7. Question: $state["Delaware"]="December 7, 1787"; $state["Pennsylvania"]="December 12, 1787"; $state["New Jersay"]="December 18,1787"; $keys=array_keys($state); print_r($keys); Which of the following is/are correct output for above Statement ?

    A
    Array ( [0] => Delaware [1] => Pennsylvania [2] => New Jersey )

    B
    Array ( [1] => Delaware [2] => Pennsylvania [3] => New Jersey )

    C
    array_keys($state); ["Delaware"] = "December 7, 1787";

    D
    $state["Delaware"] = "December 7, 1787";

    Note: Not available
    1. Report
  8. Question: 
    $population=array("Ohio"=>"11,421,267","Iowa"=>"2,936,760");
    print_r(array_values($population));
    Which of the following is/are correct output for above Statement ?

    A
    Array ( [0] => 11,421,267 [1] => 2,936,760 )

    B
    Array values ( [0] => 11,421,267 [1] => 2,936,760 )

    C
    array("Ohio" => "11,421,267", "Iowa" => "2,936,760");

    D
    array values("Ohio" => "11,421,267", "Iowa" => "2,936,760");

    Note: Not available
    1. Report
  9. Question: skip this question

    A
    Delaware was founded on December 7.

    B
    Pennsylvania was founded on March 1.

    C
    Ohio was founded on December 7.

    D
    Delaware was founded on December 7

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

    A
    multiple

    B
    single

    C
    boolean

    D
    void

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