1. Question: What is the correct way to create a function in PHP?

    A
    function myFunction()

    B
    new_function myFunction()

    C
    create myFunction()

    Note: Not available
    1. Report
  2. Question: What is the correct way to add 1 to the $count variable?

    A
    count++;

    B
    $count++;

    C
    ++count;

    D
    $count =+1;

    Note: Not available
    1. Report
  3. Question: variables always start with a __ in php

    A
    pond-sign

    B
    yen-sign

    C
    Doller-sign

    D
    Euro - sign

    Note: Not available
    1. Report
  4. Question: Which of the following is not true?

    A
    PHP can be used to develop web applications.

    B
    PHP makes a website dynamic.

    C
    PHP applications can not be compiled.

    D
    PHP can not be embedded into html.

    Note: Not available
    1. Report
  5. Question: Which of the following function returns the number of characters in a string variable?

    A
    count($variable)

    B
    len($variable)

    C
    strcount($variable)

    D
    strlen($variable)

    Note: Not available
    1. Report
  6. Question: When using the POST method, variables are displayed in the URL:

    A
    False

    B
    True

    Note: Not available
    1. Report
  7. Question: List()is used  to assign a list of variables in one operation.

    A
    True

    B
    False

    Note: Not available
    1. Report
  8. Question: Into compound data types categories are ______.

    A
    Array

    B
    Object

    C
    String

    D
    Integer

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

    A
    loosely typed

    B
    software typed

    C
    General types

    D
    All

    Note: Not available
    1. Report
  10. Question: ______ variable can be accessed in any part of program.

    A
    global

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