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