summaryrefslogtreecommitdiff
path: root/tests/cpp/include/ini_entries/001.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cpp/include/ini_entries/001.h')
-rw-r--r--tests/cpp/include/ini_entries/001.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/cpp/include/ini_entries/001.h b/tests/cpp/include/ini_entries/001.h
index 649b0bd..440944c 100644
--- a/tests/cpp/include/ini_entries/001.h
+++ b/tests/cpp/include/ini_entries/001.h
@@ -13,10 +13,26 @@ namespace TestIniEntries {
void iniTest1(Php::Parameters &params)
{
+ /*
+ .add(Php::Ini(, "valIni1"))
+ .add(Php::Ini("ini2", "valIni2", "OrigValIni2"))
+ .add(Php::Ini("ini3", "valIni3", "OrigValIni3", Php::Ini::System))
+ .add(Php::Ini("ini4", true, false, Php::Ini::Place::User))
+ .add(Php::Ini("ini5", false));
+
+ Ini::get("ini1")
+ */
+
+ Php::out << "Ini::get(ini1) = {{" << Php::Ini::get("ini1") << " | " << Php::Ini::get_orig("ini1") << "}}" << std::endl;
+ Php::out << "Ini::get(ini2) = {{" << Php::Ini::get("ini2") << " | " << Php::Ini::get_orig("ini2") << "}}" << std::endl;
+ Php::out << "Ini::get(ini3) = {{" << Php::Ini::get("ini3") << " | " << Php::Ini::get_orig("ini3") << "}}" << std::endl;
+ Php::out << "Ini::get(ini4) = {{" << Php::Ini::get("ini4") << " | " << Php::Ini::get_orig("ini4") << "}}" << std::endl;
+ /*
Php::out << "extension_for_tests.some_string ={{" << Php::ini_get("extension_for_tests.some_string") << "}}" << std::endl;
Php::out << "extension_for_tests.some_string2 ={{" << Php::ini_get("extension_for_tests.some_string2") << "}}" << std::endl;
Php::out << "extension_for_tests.some_string3 ={{" << Php::ini_get("extension_for_tests.some_string3") << "}}" << std::endl;
Php::out << "extension_for_tests.some_string3 ={{" << Php::ini_get("extension_for_tests.some_bool") << "}}" << std::endl;
+ */