Comment déclare-t-on une variable en PHP ?
_06_03__Réalisation d'un site web dynamique avec PHP

Quiz
•
Information Technology (IT)
•
6th Grade
•
Hard
benidir mourad
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
var $maVariable;
$maVariable = 5;
let $maVariable = 5;
int $maVariable = 5;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle est la structure correcte pour une condition if en PHP ?
if (condition) { }
if condition { }
if (condition) then { }
if [condition] { }
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quel mot-clé est utilisé pour vérifier si une variable est définie ?
isset()
define()
exists()
check()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quelle boucle est utilisée pour itérer sur un tableau en PHP ?
loop
foreach
repeat
while
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quel est le résultat de la boucle suivante ?
012
123
0 1 2
1 2 3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Comment déclare-t-on un tableau en PHP ?
$tableau = array();
$tableau[] = array();
$tableau = {};
$tableau = new array();
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Quel est le bon moyen d'accéder au premier élément d'un tableau ?
$tableau[1];
$tableau[0];
$tableau.first();
$tableau[1st];
Create a free account and access millions of resources
Similar Resources on Quizizz
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
Discover more resources for Information Technology (IT)
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
20 questions
Final Exam Vocabulary

Quiz
•
6th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
49 questions
How Well Do You Know Your 6th Grade Teachers?

Quiz
•
6th Grade
5 questions
Multiply Decimals

Lesson
•
5th - 6th Grade
10 questions
Adding and Subtracting Decimals

Quiz
•
6th Grade
33 questions
Mechanical Energy Transfer

Quiz
•
6th Grade