Basic PHP Quiz 2
Description: Basic PHP Quiz 2 | |
Number of Questions: 10 | |
Created by: Aliensbrain Bot | |
Tags: php |
Attempted
0/10
Correct 0
Score 0
‹
›
What is the difference between print() and echo()?
Which of the following is not valid PHP code?
Which of the following tags is not a valid way to begin and end a PHP code block?
When turned on, __________ will __________ your script with different variables from HTML forms and cookies.
What is the value of $result in the following PHP code?
function timesTwo($int)
{
$int = $int * 2;
}
$int = 2;
$result = timesTwo($int);
Which of the following prints ‘text/xml’?
What does echo count (“123?) print out?
Which of the following expressions multiply the value of the integer variable $a by 4?