xref: /PHP-5.5/ext/standard/tests/file/chgrp.phpt (revision 4d47ccb9)
1--TEST--
2chgrp() with NULL as group name
3--SKIPIF--
4<?php
5if(substr(PHP_OS, 0, 3) == "WIN")
6  die("skip, not supported on Windows");
7?>
8--FILE--
9<?php
10chgrp("sjhgfskhagkfdgskjfhgskfsdgfkdsajf", NULL);
11echo "ALIVE\n";
12?>
13--EXPECTF--
14Warning: chgrp(): parameter 2 should be string or integer, null given in %schgrp.php on line 2
15ALIVE
16