1--TEST--
2Constants exported by ext/mysqli - checking category - PHP bug not mysqli bug (check from time to time)
3--SKIPIF--
4<?php
5require_once('skipif.inc');
6?>
7--FILE--
8<?php
9    $constants = get_defined_constants(true);
10
11    foreach ($constants as $group => $consts) {
12        foreach ($consts as $name => $value) {
13            if (stristr($name, 'mysqli')) {
14                if ('mysqli' != $group)
15                printf("found constant '%s' in group '%s'. expecting group 'mysqli'\n", $name, $group);
16            }
17        }
18    }
19
20    print "done!";
21?>
22--EXPECT--
23done!
24