exe2.php - PHP Online

Form of PHP Sandbox

Enter Your PHP code here for testing/debugging in the Online PHP Sandbox. As in the usual PHP files, you can also add HTML, but do not forget to add the tag <?php in the places where the PHP script should be executed.



Your result can be seen below.

Result of php executing





Full code of exe2.php.php

  1. <?php
  2. $moy = 11 ;
  3. if ($moy>= 10 && $moy < 12){
  4.     echo " passable";}
  5. elseif ( $moy>=12 && $moy < 14  ){
  6.     echo  "assez bien";}
  7.     elseif ($moy >=14 && $moy<16 ){
  8.     echo "bien ";}
  9.    else {
  10.        echo "tres bien";
  11.    }
  12.     ?>
File Description
  • exe2.php
  • PHP Code
  • 26 Feb-2021
  • 231 Bytes
You can Share it: