1--TEST--
2assert() - basic - test initial values using ini.get and assert_options
3--INI--
4assert.active = 0
5assert.warning = 0
6assert.bail = 0
7assert.callback = f1
8--FILE--
9<?php
10// Check the initial settings for all assert_options
11
12//Using assert_options;
13echo "Initial values: assert_options(ASSERT_ACTIVE) => [".assert_options(ASSERT_ACTIVE)."]\n";
14echo "Initial values: assert_options(ASSERT_WARNING) => [".assert_options(ASSERT_WARNING)."]\n";
15echo "Initial values: assert_options(ASSERT_BAIL) => [".assert_options(ASSERT_BAIL)."]\n";
16echo "Initial values: assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
17
18//Using ini.get;
19echo "Initial values: ini.get(\"assert.active\") => [".ini_get("assert.active")."]\n";
20echo "Initial values: ini.get(\"assert.warning\") => [".ini_get("assert.warning")."]\n";
21echo "Initial values: ini.get(\"assert.bail\") => [".ini_get("assert.bail")."]\n";
22echo "Initial values: ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n";
23?>
24--EXPECT--
25Initial values: assert_options(ASSERT_ACTIVE) => [0]
26Initial values: assert_options(ASSERT_WARNING) => [0]
27Initial values: assert_options(ASSERT_BAIL) => [0]
28Initial values: assert_options(ASSERT_CALLBACK) => [f1]
29Initial values: ini.get("assert.active") => [0]
30Initial values: ini.get("assert.warning") => [0]
31Initial values: ini.get("assert.bail") => [0]
32Initial values: ini.get("assert.callback") => [f1]
33