PHP

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

All variables in PHP start with which symbol?

$

What is the correct way to add 1 to the $count variable?

$count++;

Which one of these variables has an illegal name?

$my-Var

What is a correct way to add a comment in PHP?

/*...*/

What is the correct way to end a PHP statement?

;

PHP server scripts are surrounded by delimiters, which?

<?php ...?>

What does PHP stand for?

Hypertext Preprocessor

In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings:

True

In PHP, the only way to output text is with echo.

True

The die() and exit() functions do the exact same thing.

True

When using the POST method, variables are displayed in the URL:

True

How do you write "Hello World" in PHP

echo "Hello World";


Ensembles d'études connexes

Maternal Infant Ch 9, Ch 14, 10, 11, 13 Practice Questions

View Set

PUNCTUATION AND LITERATURE: Test

View Set

CH 58 EAQ Degenerative Neurologic Disorders

View Set

Workforce Planning & Talent Management

View Set

ECON: final exam multiple choice (part 1)

View Set

POL 104 — California Politics Midterm Study Guide

View Set