English
Français
Messages
Notifications

Programmation PHP

Average rating : Published by Rayon_de_tristesse on December 14th, 2015

Question 1
Quel est la différence entre echo et print_r

Print_r affiche une chaîne de caractères et echo affiche un tableau (array)
Echo affiche une chaîne de caractères et print_r affiche un tableau (array)
Pas de différence
Question 2
Pour récupérer l'adresse ip de l'utilisateur, on utilise une variable superglobale, laquelle?

$_SERVER
$_SESSION
$_POST
Question 3
Comment faire une redirection sous PHP ?

Location("page.php");
Redirect("Location: page.php");
Header("Location: page.php");
Question 4
Quel est l'opérateur de concaténation sous PHP

+ (plus)
. (Point)
- (tiret)
Question 5
Coche l'intrus :

<! echo "hello"; !>
<?php echo "hello"; ?>
<?="hello" ?>

Comments



Leave a comment :
[s][u]
There are no comments at the time.
The author deactivated comments on this page.

Quiz information

Author : Rayon_de_tristesse
Difficulty : Medium
Tags : php, programmation, lang...(more)
Played : 65
ShareFavoritesReport
Embed this quiz on your website

Ranking

Average score : 56.1 %

1.Evan100 %
2.Superbaillot100 %
3.wikiHow80 %
4.taous_ben80 %
5.O2n80 %
6.BluesArte60 %
7.bzhnico60 %
8.__osene40 %
9.sbastien40 %
10.Mertus20 %

They played it

elyou20 %

Communauty

Follow us on Facebook to be updated about the latest good quizes !

More quizes !

Cookies and privacy

By browsing this website, you accept our cookie and privacy policy explained here.