fmod_error.phpt 347 B

1234567891011121314151617
  1. --TEST--
  2. Test fmod() - wrong params test fmod()
  3. --INI--
  4. precision=14
  5. --FILE--
  6. <?php
  7. fmod();
  8. fmod(23);
  9. fmod(23,2,true);
  10. ?>
  11. --EXPECTF--
  12. Warning: fmod() expects exactly 2 parameters, 0 given in %s on line 2
  13. Warning: fmod() expects exactly 2 parameters, 1 given in %s on line 3
  14. Warning: fmod() expects exactly 2 parameters, 3 given in %s on line 4