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
9 questions
PWD_TP1_TP2_TP3

Quiz
•
University
9 questions
Command Line

Quiz
•
12th Grade - Professi...
6 questions
5SW2

Quiz
•
University
12 questions
Clases Abstractas, polimorfismo

Quiz
•
University
10 questions
SEO.ESAN

Quiz
•
University
13 questions
Quiz Web

Quiz
•
University
10 questions
Materi 3 - HTML

Quiz
•
University
10 questions
Python Files

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade