From 5c48b86493bb26a65280850ca98299581d91bdc3 Mon Sep 17 00:00:00 2001 From: Skycel9 Date: Sat, 27 Nov 2021 16:56:47 +0100 Subject: [PATCH] Ajout des exemple en code php --- Chapter_1/Pratique/Js/variables.js | 2 +- Chapter_1/Pratique/php/variables.php | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/Chapter_1/Pratique/Js/variables.js b/Chapter_1/Pratique/Js/variables.js index 2d4a599..f792c90 100644 --- a/Chapter_1/Pratique/Js/variables.js +++ b/Chapter_1/Pratique/Js/variables.js @@ -10,7 +10,7 @@ var arr = [1, 2, 3]; console.log(str); // Renvoi my string console.log(float); // Renvoi 1.64 console.log(int); // Renvoi 4 -console.log(bool); // Renvoi true +console.log(bool); // Renvoi true ou 1 console.log(arr); // Renvoi [1, 2, 3] diff --git a/Chapter_1/Pratique/php/variables.php b/Chapter_1/Pratique/php/variables.php index e69de29..5a36c39 100644 --- a/Chapter_1/Pratique/php/variables.php +++ b/Chapter_1/Pratique/php/variables.php @@ -0,0 +1,22 @@ + \ No newline at end of file