Qs
10
Difficulty
Junior
Plays
3
Record
0:34
Description
How much to you know about PHP basics?
Question Preview
What will be printed when this snippet is run?
array = ['1', 3, true];
echo array[2];
Question Preview
What does the acronym PHP stand for?
Question Preview
How does one correctly create a variable?
Question Preview
PHP support which scalar types?
Question Preview
PHP supports which primitive types?
Question Preview
What string literal is supported in PHP?
echo <<<EOT
Kwiz
EOT;
echo 'Kwiz';
echo "Kwiz";
echo <<<EOD
Kwiz
EOD;
Question Preview
What is the correct way to create a function in PHP?
Question Preview
Which comparison operator is NOT a valid operator in PHP?
Question Preview
Is this a valid way to add two array together?
$left = ["a" => "Kwiz", "b" => "is"];
$right = ["a" => "You", "b" => "are", "c" => "awesome"];
$union = $left + $right;