1. Question: Which of the following Directive Scope can be modified anywhere?

    A
    PHP_INI_PERDIR

    B
    PHP_INI_SYSTEM

    C
    PHP_INI_USER

    D
    PHP_INI_ALL

    Note: Not available
    1. Report
  2. Question: What is the possible  output of the following syntax? <?php $v=strtolower("http://WWW.GOOGLE.COM"); echo $v; ?>

    Note: Not available
    1. Report
  3. Question: Select the correct output__ <?php $v="What is life Life is nothing But life is everything Just make it how you want to look your life"; echo nl2br($v); ?>

    A
    What is life Life is nothing But life is everything Just make it how you want to look your life

    B
    What is life(br/) Life is nothing(br/) But life is everything(br/) Just make it(br/) how you want to look your life(br/)

    C
    What is life, Life is nothing ,But life is everything, Just make it how you want to look your life.

    D
    error

    Note: Not available
    1. Report
  4. Question: PHP is a ______ language.

    A
    loosely typed

    B
    software typed

    C
    General types

    D
    All

    Note: Not available
    1. Report
  5. Question: PCRE stands for?

    A
    Perl Compatible Regular Expressions

    B
    project Compatible Regular Expressions

    C
    Perl Compatible Reference Expressions

    D
    note

    Note: Not available
    1. Report
  6. Question: What will its output?
    <?php
     $grades=array(42,"hellow",42);
     $total=array_sum($grades);
    print $total;
    ?>

    A
    84

    B
    85

    C
    86

    D
    87

    Note: Not available
    1. Report
  7. Question: Which of the following is/are correct print function?

    A
    vprintf()

    B
    sprintf()

    C
    print_r()

    D
    vsprintf()

    Note: Not available
    1. Report
  8. Question: Follow by useing array_key_exists function__ $state["Subhan"]= "Agust 3, 1757"; $state["Ashraf"]= "July 15, 1971"; $state["Shahin"]= "January 7, 1857"; if(array_key_exists("Ashraf", $state) ) printf("Asraf joined the Union on %s", $state["Asraf"]); What is the correct output of above that Syntex ?

    A
    Shahin joined the Union on January 7, 1857

    B
    Subhan joined the Union on Agust 3, 1757

    C
    Asraf joined the Union on july 15, 1971

    D
    july 15, 1971

    Note: Not available
    1. Report
  9. Question: By using array_key() function, Which is the correct output of following syntex? $state["Subhan"]= "Agust 3, 1757"; $state["Ashraf"]= "July 15, 1971"; $state["Shahin"]= "January 7, 1857";

    A
    array([] => Subhan[] => Ashraf[] => Shahin)

    B
    array([1] => subhan[2] => ashraf[3] => shahin)

    C
    array([0] => Subhan[1] => Ashraf[2] => Shahin)

    D
    array([] => Shahin[] => Ashraf[] => Subhan)

    Note: Not available
    1. Report
  10. Question: Which is correct the Function for searching Associative Array Values ?

    A
    array_key_search()

    B
    array_key_exists()

    C
    array_search()

    D
    array_value_search()

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