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";
36 echo "Change callback function using ini.set and test return value \n";
37 var_dump($rv = ini_set("assert.callback","f2"));
39 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n";
43 echo "Change callback function using assert_options and test return value \n";
46 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n";
51 echo "Reset the name of the callback routine to a class method and check that it works\n";
54 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n";
58 echo "Reset callback options to use a class method \n";
61 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n";
65 echo "Reset callback options to use an object method \n";
69 echo "ini.get(\"assert.callback\") => [".ini_get("assert.callback")."]\n\n";
75 Initial values: ini.get("assert.callback") => [f1]
79 Change callback function using ini.set and test return value
82 ini.get("assert.callback") => [f2]
86 Change callback function using assert_options and test return value
89 ini.get("assert.callback") => [f2]
93 Reset the name of the callback routine to a class method and check that it works
96 ini.get("assert.callback") => [f2]
99 Reset callback options to use a class method
107 ini.get("assert.callback") => [f2]
114 Reset callback options to use an object method
128 ini.get("assert.callback") => [f2]