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');
6require_once('skipifemb.inc');
7?>
8--FILE--
9<?php
10    $constants = get_defined_constants(true);
11
12    foreach ($constants as $group => $consts) {
13        foreach ($consts as $name => $value) {
14            if (stristr($name, 'mysqli')) {
15                if ('mysqli' != $group)
16                printf("found constant '%s' in group '%s'. expecting group 'mysqli'\n", $name, $group);
17            }
18        }
19    }
20
21    print "done!";
22?>
23--EXPECT--
24done!
25