xref: /PHP-8.2/ext/standard/tests/file/chown.phpt (revision b10416a6)
1--TEST--
2chown() with NULL as user name
3--SKIPIF--
4<?php
5if(substr(PHP_OS, 0, 3) == "WIN")
6  die("skip, not supported on Windows");
7?>
8--FILE--
9<?php
10chown("sjhgfskhagkfdgskjfhgskfsdgfkdsajf", 0);
11echo "ALIVE\n";
12?>
13--EXPECTF--
14Warning: chown(): No such file or directory in %s on line %d
15ALIVE
16