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 10try { 11 chgrp("sjhgfskhagkfdgskjfhgskfsdgfkdsajf", null); 12} catch (TypeError $exception) { 13 echo $exception->getMessage() . "\n"; 14} 15?> 16--EXPECTF-- 17Warning: chgrp(): No such file or directory in %s on line %d 18