Annotation of embedaddon/php/ext/standard/tests/file/chown.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: chown() with NULL as user name
        !             3: --SKIPIF--
        !             4: <?php
        !             5: if(substr(PHP_OS, 0, 3) == "WIN")
        !             6:   die("skip, not supported on Windows");
        !             7: ?>
        !             8: --FILE--
        !             9: <?php
        !            10: chown("sjhgfskhagkfdgskjfhgskfsdgfkdsajf", NULL);
        !            11: echo "ALIVE\n";
        !            12: ?>
        !            13: --EXPECTF--
        !            14: Warning: chown(): parameter 2 should be string or integer, null given in %schown.php on line %d
        !            15: ALIVE

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>