This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 - Quelle est la société qui développe Symfony ? | |
-SensioLabs | |
2 - Cite les autres produits développés par cette société ? | |
- Blackfire.IO | |
- Twig | |
3 - Parmi ces outils, lesquels sont des frameworks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* hello-wilder.js */ | |
// Define some variables | |
const titleMovie = 'Gladiator'; | |
const releaseDate = 2000; | |
const Director = 'Ridley Scott' | |
const message = 'Le film ' + titleMovie + ' sortie en ' + releaseDate + ' et réalisé par ' + Director + ' est le meilleur film du monde !'; | |
// Display a popup | |
alert(message); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/A./ | |
/[0-9]{2}[/][0-9]{2}[/][0-9]{4}/ | |
/[8-9]{1}[/][0-9]{2}/ | |
/[a-z]{14,}/gi | |
/(https:\/\/)(\w+.){5}(?=\))/g |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- MySQL dump 10.13 Distrib 5.7.23, for Linux (x86_64) | |
-- | |
-- Host: localhost Database: mydb | |
-- ------------------------------------------------------ | |
-- Server version 5.7.23-0ubuntu0.18.04.1 | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Personnage{ | |
public $nom; | |
public $prenom; | |
public $adresse; | |
public $date; | |
public function dire(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- MySQL dump 10.13 Distrib 5.7.23, for Linux (x86_64) | |
-- | |
-- Host: localhost Database: vincent_r_wcs_orleans | |
-- ------------------------------------------------------ | |
-- Server version 5.7.23-0ubuntu0.18.04.1 | |
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | |
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; | |
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; | |
/*!40101 SET NAMES utf8 */; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if($_POST){ | |
//not empty | |
// | |
$errors = array(); | |
//start validation | |
if (empty($_POST['nom'])) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function writeSecretSentence(string $PARAMETRE_1, string $PARAMETRE_2){ | |
return "$PARAMETRE_1 s'incline face à $PARAMETRE_2"; | |
} | |
echo writeSecretSentence("La lune", "au feu"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$film=[ | |
'Indiana Jones et le Royaume du Crane de Cristal' => ['Harrison Ford', 'Cate Blanchett', 'Shia Leboeuf'], | |
'Indiana Jones et la Derniere Croisade'=> ['Harrison Ford', 'Sean Connery', 'John Rhys-Davies'], | |
'Les aventuriers de l Arche du perdue'=> ['Harrison Ford', 'Karen Allen', 'Paul Freeman'], | |
]; | |
foreach ($film as $key => $value) { | |
echo "Dans le film $key, les principaux acteurs sont : "; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$message="0@sn9sirppa@#?ia'jgtvryko1"; | |
$length=strlen($message); | |
$keyData=strlen($message) / 2 ; | |
$rest=substr($message, 5, $keyData); | |
$replace=str_replace("@#?", " ", $rest); | |
echo strrev($replace), ' '; | |
$message="q8e?wsellecif@#?sel@#?setuotpazdsy0*b9+mw@x1vj"; |
NewerOlder