Lines Matching refs:callback
2 assert() - variation - test callback options using ini_get/ini_set/assert_options
6 assert.callback = f1
31 echo "Initial values: ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n";
35 echo "Change callback function using ini.set and test return value \n";
36 var_dump($rv = ini_set("assert.callback","f2"));
38 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n";
42 echo "Change callback function using assert_options and test return value \n";
45 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n";
50 echo "Reset the name of the callback routine to a class method\n";
53 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n";
61 echo "Reset callback options to use a class method \n";
64 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n";
68 echo "Reset callback options to use an object method \n";
72 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n";
76 echo "Set callback to something silly\n";
83 Initial values: ini.get("assert.callback") => [f1]
87 Change callback function using ini.set and test return value
90 ini.get("assert.callback") => [f2]
94 Change callback function using assert_options and test return value
97 ini.get("assert.callback") => [f2]
101 Reset the name of the callback routine to a class method
104 ini.get("assert.callback") => [f2]
105 Invalid callback c1, function "c1" not found or invalid function name
107 Reset callback options to use a class method
115 ini.get("assert.callback") => [f2]
120 Reset callback options to use an object method
134 ini.get("assert.callback") => [f2]
139 Set callback to something silly