Insert the missing part of the code below to output "Hello World".
PHP BASIC

Quiz
•
Professional Development, Education, Instructional Technology
•
University
•
Medium
kris kris
Used 123+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
echo and print
System.out.println
println
cout
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Write the correct opening tag and close tag for PHP scripts.
{}
<?php ?>
<>
<? ?>
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Statements in PHP have to end with a special character, which one?
.
,
:
;
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Create a variable in php assign with the
String
const
let
$
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Get the length of the string "Hello World!".
Leng
substring
strlen
len
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Use the correct function to output the number of items in an array.
$fruits = array("Apple", "Banana", "Orange");
echo $fruits[0]
echo $fruits["Apple"]
echo count($fruits)
echo $fruits[0][1]
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Write a correct syntax to include a file named "footer.php".
include ("footer.php");
import("footer.php");
required("footer.php");
export("footer.php");
Create a free account and access millions of resources
Similar Resources on Quizizz
7 questions
Word Processing Basics

Quiz
•
University
6 questions
5SW2

Quiz
•
University
12 questions
Clases Abstractas, polimorfismo

Quiz
•
University
10 questions
How to stay safe

Quiz
•
5th Grade - Professio...
13 questions
Quiz Web

Quiz
•
University
10 questions
Python Files

Quiz
•
University
9 questions
PWD_TP1_TP2_TP3

Quiz
•
University
9 questions
Command Line

Quiz
•
12th Grade - Professi...
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade