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