fork download
  1. <?php
  2. $year=2036;
  3. if($year%400==0 || ($year%100!=0 && $year%4==0))
  4. echo $year.' is Leap Year';
  5. else echo $year.' is Not a Leap Year';
  6. ?>
  7.  
Success #stdin #stdout 0.02s 25796KB
stdin
Standard input is empty
stdout
2036 is Leap Year