diff --git a/ext/standard/tests/file/chown.phpt b/ext/standard/tests/file/chown.phpt new file mode 100644 index 00000000000..6c2d357c143 --- /dev/null +++ b/ext/standard/tests/file/chown.phpt @@ -0,0 +1,13 @@ +--TEST-- +chown() with NULL as user name +--FILE-- + +--EXPECTF-- +Warning: chown(): parameter 2 should be string or integer, null given in %schown.php on line %d +ALIVE +--UEXPECTF-- +Warning: chown(): parameter 2 should be string or integer, null given in %schown.php on line %d +ALIVE