chgrp.phpt 361 B

1234567891011121314151617
  1. --TEST--
  2. chgrp() with NULL as group name
  3. --SKIPIF--
  4. <?php
  5. if(substr(PHP_OS, 0, 3) == "WIN")
  6. die("skip, not supported on Windows");
  7. ?>
  8. --FILE--
  9. <?php
  10. try {
  11. chgrp("sjhgfskhagkfdgskjfhgskfsdgfkdsajf", 0);
  12. } catch (TypeError $exception) {
  13. echo $exception->getMessage() . "\n";
  14. }
  15. ?>
  16. --EXPECTF--
  17. Warning: chgrp(): No such file or directory in %s on line %d