summaryrefslogtreecommitdiff
path: root/tests/cpp/include/ini_entries/001.h
blob: 8a4c5cabf27468c7abed25142e6fb6c29aacf2ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
 *
 *  Test ini entries
 *	test ini_entries/001.phpt
 *
 */

/**
 *  Set up namespace
 */
namespace TestIniEntries {

    // will be retrieved at boot extension
    double ini6val = 0.0;

    void iniTest1(Php::Parameters &params)
    {
        Php::out << "ini_get(ini1) = " << Php::ini_get("ini1") << std::endl;
        Php::out << "ini_get(ini2) = " << Php::ini_get("ini2") << std::endl;
        Php::out << "ini_get(ini3) = " << Php::ini_get("ini3") << std::endl;
        Php::out << "ini_get(ini4) = " << Php::ini_get("ini4") << std::endl;
        Php::out << "ini_get(ini5) = " << Php::ini_get("ini5") << std::endl;
        Php::out << "ini_get(ini6) = " << Php::ini_get("ini6") << std::endl;

        Php::out << "ini6val = " << ini6val << std::endl;
    }
/**
 *  End of namespace
 */
}