1. Question: What means $a .= 5?

    A
    $a equals $a concatenated with 5

    B
    $a equals $a divided with 5

    C
    $a equals $a concatenated with .5

    D
    $a equals $a concatenated with 5.5

    Note: Not available
    1. Report
  2. Question: printf("The value of Pi is %f", PI); $pi2 = 2 * PI; printf("Pi doubled equals %f", $pi2); This code produces the following results:

    A
    The value of pi is 3.141592 Pi doubled equals 6.283184

    B
    The value of pi is 3.141592 Pi doubled equals 2*3.141592

    C
    The value of pi is 3.141592. Pi doubled equals 6.283184.

    D
    The value of pi is 3.141592. 2 * PI

    Note: Not available
    1. Report
  3. Question: the following variables bear no relation to one another: • $color • $Color • $COLOR; True or False?

    A
    True

    B
    False

    C
    $color, $Color and $COLOR are not variables.

    D
    none

    Note: Not available
    1. Report
  4. Question: What is meant by the term variable functions?

    A
    if a variable name has parentheses appended to it, PHP will look for a function with the same name as whatever the variable evaluates to, and will attempt to execute it

    B
    if a variable name has parentheses appended to it, PHP will look for a function with the same name and will attempt to execute it

    C
    There is no such term

    Note: Not available
    1. Report
  5. Question: What will happen with the following code segment? $ = array( 1 => 'one', 2 => 'two', 3 => 'three'); unset($a[2]);

    A
    $a[2] is 'three' and $a[3] is undefined

    B
    $a[2] is 'three' and $a is 'three'

    C
    $a[2] is undefined and $a [3] is 'three'

    D
    $a[2] is undegined and $a[3] is undefined

    Note: Not available
    1. Report
  6. Question: Which of the following variables are supported by ‘str_replace’ function?

    A
    Integer

    B
    String

    C
    Boolean

    D
    Array

    Note: Not available
    1. Report
  7. Question: Does PHP 5 support exceptions?

    A
    Yes

    B
    No

    Note: Not available
    1. Report
  8. Question: We have two variable definitions: 1. 023 2. x23 Choose the correct options:

    A
    1 is octal

    B
    2 is hexadecimal

    C
    2 is octal

    D
    1 is hexadecimal

    Note: Not available
    1. Report
  9. Question: Which of the following statement is not correct for PHP?

    A
    It is a server side scripting language

    B
    A php file may contain text, html tags or scripts

    C
    It can run on windows and Linux systems only

    D
    It is compatible with most of the common servers used today

    Note: Not available
    1. Report
  10. Question: Which of the following multithreaded servers allow PHP as a plug-in?

    A
    Netscape FastTrack

    B
    Microsoft's Internet Information Server

    C
    O'Reilly's WebSite Pro

    D
    All

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