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";
38 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
43 echo "Change callback function using assert_options and test return value \n";
44 var_dump($rv=assert_options(ASSERT_CALLBACK, "f3"));
45 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
52 var_dump($rc=assert_options(ASSERT_CALLBACK, "c1"));
53 echo "assert_options(ASSERT_CALLBACK) => [".assert_options(ASSERT_CALLBACK)."]\n";
59 var_dump($rc = assert_options(ASSERT_CALLBACK,array("c1","assert")));
60 var_dump($rao=assert_options(ASSERT_CALLBACK));
67 var_dump($rc=assert_options(ASSERT_CALLBACK,array(&$o,"assert")));
68 var_dump($rao=assert_options(ASSERT_CALLBACK));
73 Initial values: assert_options(ASSERT_CALLBACK) => [f1]
82 assert_options(ASSERT_CALLBACK) => [f2]
89 Change callback function using assert_options and test return value
91 assert_options(ASSERT_CALLBACK) => [f3]
100 assert_options(ASSERT_CALLBACK) => [c1]