Lines Matching refs:assert_options
2 assert() - variation - test callback options using ini_get/ini_set/assert_options
30 echo "Initial values: assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
37 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
42 echo "Change callback function using assert_options and test return value \n";
43 var_dump($rv=assert_options(ASSERT_CALLBACK, "f3"));
44 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
51 var_dump($rc=assert_options(ASSERT_CALLBACK, "c1"));
52 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
58 var_dump($rc = assert_options(ASSERT_CALLBACK,array("c1","assert")));
59 var_dump($rao=assert_options(ASSERT_CALLBACK));
66 var_dump($rc=assert_options(ASSERT_CALLBACK,array(&$o,"assert")));
67 var_dump($rao=assert_options(ASSERT_CALLBACK));
73 assert_options(ASSERT_CALLBACK, 3.141);
74 var_dump($rao = assert_options(ASSERT_CALLBACK));
78 Initial values: assert_options(ASSERT_CALLBACK) => [f1]
85 assert_options(ASSERT_CALLBACK) => [f2]
90 Change callback function using assert_options and test return value
92 assert_options(ASSERT_CALLBACK) => [f3]
99 assert_options(ASSERT_CALLBACK) => [c1]