?php / / == is an operator which test / / equality and returns a boolean if ($action == "show_version") {echo "The version is 1.23";} / / this is not necessary... if ($show_separators == TRUE) {echo "hr \n";} / / ...because you can simply type if ($show_separators) {echo" hr \n";}?
?php if ($action == "show_version") {/ / == is an operator ?php if ($action == "show_version") {/ / == is an operator / / qui retourne un booléen echo "La version est 1.23";} / / ceci n'est pas nécessaire if ($show_separators == true) {echo "hr \n";} / / ceci est plus pratique if ($show_separators) {echo" hr \n";}?