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
10
11var_dump(posix_initgroups('foo', 'bar'));
12var_dump(posix_initgroups(NULL, NULL));
13
14?>
15--EXPECTF--
16Warning: posix_initgroups() expects parameter 2 to be integer, string given in %s on line %d
17bool(false)
18bool(false)
19