Lubinik Learning

Training mode

PHP Syntax & Types

Time remaining:

0 / 20 answered

  1. 1. Which tag normally begins a PHP code block?

    Which tag normally begins a PHP code block?
    Hint

    Identify the definition or behavior described by the question.

  2. 2. Which character begins a PHP variable name?

    Which character begins a PHP variable name?
    Hint

    Identify the definition or behavior described by the question.

  3. 3. How are most simple PHP statements terminated?

    How are most simple PHP statements terminated?
    Hint

    Identify the definition or behavior described by the question.

  4. 4. Which value is a PHP string?

    Which value is a PHP string?
    Hint

    Identify the definition or behavior described by the question.

  5. 5. Which value is a PHP integer?

    Which value is a PHP integer?
    Hint

    Identify the definition or behavior described by the question.

  6. 6. Which value is a PHP floating-point number?

    Which value is a PHP floating-point number?
    Hint

    Identify the definition or behavior described by the question.

  7. 7. Which are the two PHP boolean values?

    Which are the two PHP boolean values?
    Hint

    Identify the definition or behavior described by the question.

  8. 8. What does null represent in PHP?

    What does null represent in PHP?
    Hint

    Identify the definition or behavior described by the question.

  9. 9. What can a PHP array store?

    What can a PHP array store?
    Hint

    Identify the definition or behavior described by the question.

  10. 10. How do you read the value stored under the key title in the $post array?

    How do you read the value stored under the key title in the $post array?
    Hint

    Identify the definition or behavior described by the question.

  11. 11. Which operator concatenates PHP strings?

    Which operator concatenates PHP strings?
    Hint

    Identify the definition or behavior described by the question.

  12. 12. What does the = operator do in PHP?

    What does the = operator do in PHP?
    Hint

    Identify the definition or behavior described by the question.

  13. 13. What does the === operator compare?

    What does the === operator compare?
    Hint

    Identify the definition or behavior described by the question.

  14. 14. What is an if statement used for?

    What is an if statement used for?
    Hint

    Identify the definition or behavior described by the question.

  15. 15. What is foreach primarily used for?

    What is foreach primarily used for?
    Hint

    Identify the definition or behavior described by the question.

  16. 16. Which keyword declares a PHP function?

    Which keyword declares a PHP function?
    Hint

    Identify the definition or behavior described by the question.

  17. 17. What does return do inside a function?

    What does return do inside a function?
    Hint

    Identify the definition or behavior described by the question.

  18. 18. What does echo do?

    What does echo do?
    Hint

    Identify the definition or behavior described by the question.

  19. 19. Which syntax creates a single-line PHP comment?

    Which syntax creates a single-line PHP comment?
    Hint

    Identify the definition or behavior described by the question.

  20. 20. What is the key difference when an included PHP file is missing?

    What is the key difference when an included PHP file is missing?
    Hint

    Identify the definition or behavior described by the question.