fork(2) download
  1. <?php
  2. $d = date("D");
  3.  
  4. if ($d == "Fri")
  5. echo "its friday";
  6.  
  7. elseif ($d == "Sun")
  8. echo "its weekend";
  9.  
  10. else
  11. echo "its not weekend as well friday";
  12. ?>
Success #stdin #stdout 0.03s 52472KB
stdin
Standard input is empty
stdout
its not weekend as well friday