xref: /PHP-7.3/ext/standard/tests/file/chgrp.phpt (revision fc23452c)
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 int, null given in %schgrp.php on line 2
15ALIVE
16