1. Question: How do you write in PHP?

    A
    write("text");

    B
    echo "text";

    C
    document.write("text");

    D
    print("text")

    Note: Not available
    1. Report
  2. Question: All variables in PHP start with which symbol?

    A
    $

    B
    %

    C
    &

    D
    #

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

    A
    /* Dewan Mohammad Shahin */

    B
    #Dewan Mohammad Shahin

    C
    //Dewan Mohammad Shahin

    D
    < !--Dewan Mohammad Shahin-->

    Note: Not available
    1. Report
  4. Question: 
    function my_function(){
      static $count=1;
      $count++;
      echo $count;
      echo "<br/>";
    }
    
    my_function();
    my_function();
    my_function();
    What will be the correct out of the above static syntax?

    A
    2 3 4

    B
    1 2 3

    C
    1 1 1

    D
    2 2 2

    Note: Not available
    1. Report
  5. Question: Which Identifires are invalid?

    A
    !counter

    B
    4ward

    C
    my_function

    D
    Size

    Note: Not available
    1. Report
  6. Question: How many methodologies are available for variable assignment?

    A
    2

    B
    3

    C
    4

    D
    5

    Note: Not available
    1. Report
  7. Question: Function Parameter is destroyed________

    A
    when the function execution ends.

    B
    when the function execution start.

    C
    when the variable execution ends.

    D
    None

    Note: Not available
    1. Report
  8. Question: Where the function parameters are declared?

    A
    after the function name

    B
    after the function name and inside parentheses

    C
    only inside the funtion parentheses

    D
    in the function header

    Note: Not available
    1. Report
  9. Question: Lerdorf, Suraski and Gutmans are cofounders of Zend Technologies Ltd.

    A
    True

    B
    False

    Note: Not available
    1. Report
  10. Question: Lerdorf continue to develop PHP 2.0 later on with the language ____

    A
    C

    B
    C++

    C
    Perl

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