--TEST-- Check for eio_chown function basic behaviour --SKIPIF-- --FILE-- getMessage(), E_USER_WARNING); } } else { eio_chown($temp_filename); } //Fatal error: Uncaught ArgumentCountError: eio_chown() expects at least 2 arguments, 1 given in /home/ruslan/projects/pecl/pecl-eio/tests/eio_chown_variation.phpt:23 eio_event_loop(); eio_chown($temp_filename, -1, -1); eio_event_loop(); eio_chown($temp_filename, posix_getuid(), -1, EIO_PRI_DEFAULT, "my_eio_chown_cb"); eio_event_loop(); ?> --CLEAN-- --EXPECTF-- %Aeio_chown() expects at least 2 %s, 1 given%A Warning: eio_chown(): invalid uid and/or gid in %a int(0)