1. Question: How many levels are available in PHP's error_reporting directive?

    A
    Ten

    B
    Fifteen

    C
    Sixteen

    D
    Twenty

    Note: Not available
    1. Report
  2. Question: What will be determined by is_array() function?

    A
    whether variable is an array

    B
    types of array

    C
    number of available element

    D
    All

    Note: Not available
    1. Report
  3. Question: $states = array("Florida");
        $state = "Ohio";
        printf("\$states is an array: %s <br />", (is_array($states) ? "TRUE" : "FALSE"));

    A
    $state is an array: FALSE

    B
    $states is an array: TRUE

    C
    $states is an array: NULL

    D
    None

    Note: Not available
    1. Report
  4. Question: Which error_reporting level describe the Fatal run-time errors?

    A
    E_CORE_ERROR

    B
    E_ERROR

    C
    E_USER_ERROR

    D
    None

    Note: Not available
    1. Report
  5. Question: Why the tilde charecter sign is used?

    A
    To represent the logical operator AND.

    B
    To represent the logical operator NOT.

    C
    To represent the logical operator OR.

    D
    All

    Note: Not available
    1. Report
  6. Question: Which directive determines the reporting sensitivity level?

    A
    display_errors

    B
    error_reporting

    C
    display_startup_errors

    D
    log_errors

    Note: Not available
    1. Report
  7. Question: $states = array("Ohio", "New York”, “Arizona", "Texas");
    array_shift($states);
    print_r($states)

    A
    Array ( [0] => New York [1] => Arizona [2] => Texas )

    B
    array ( [0] => Arizona [1] => Texas [2] => Ohio [3])

    C
    Array ( [0] => Ohio [1] => New York [2] => Arizona)

    D
    $states=array("New York”, “Arizona", "Texas");

    Note: Not available
    1. Report
  8. Question: What is the default Maximum Log Line Length?

    A
    1000 bytes

    B
    1024 bytes

    C
    1024 kb

    D
    1024 mb

    Note: Not available
    1. Report
  9. Question: The function array_key_exists() returns TRUE __

    A
     if a specified key is found in an array

    B
    if a specified value is found in an array

    C
    if a specified key and value is found in an array

    D
    if a null key is found in an array

    Note: Not available
    1. Report
  10. Question: What does DNS stands for ______.

    A
    Domain Name System

    B
    Document Name System

    C
    Domains Name System

    D
    Domain Names System

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