fork download
  1. <?php
  2. $month = 12;
  3. if(!checkdate($_POST['month'])){
  4. print($month ."\n");}
  5. ?>
Success #stdin #stdout #stderr 0.03s 25728KB
stdin
1
2
10
42
11
stdout
12
stderr
PHP Notice:  Undefined index: month in /home/tsi0YG/prog.php on line 3
PHP Warning:  checkdate() expects exactly 3 parameters, 1 given in /home/tsi0YG/prog.php on line 3