1--TEST--
2posix_initgroups(): Basic tests
3--SKIPIF--
4<?php
5if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
6if (!function_exists('posix_initgroups')) die('skip posix_initgroups() not found');
7?>
8--FILE--
9<?php
10echo "Basic test of POSIX posix_initgroups function\n";
11var_dump(posix_initgroups('foo', 'bar'));
12var_dump(posix_initgroups(NULL, NULL));
13
14?>
15===DONE====
16--EXPECTF--
17Basic test of POSIX posix_initgroups function
18
19Warning: posix_initgroups() expects parameter 2 to be integer, string given in %s on line %d
20bool(false)
21bool(false)
22===DONE====
23