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";
74 Initial values: ini.get("assert.callback") => [f1]
80 Change callback function using ini.set and test return value
83 ini.get("assert.callback") => [f2]
89 Change callback function using assert_options and test return value
92 ini.get("assert.callback") => [f2]
98 Reset the name of the callback routine to a class method and check that it works
101 ini.get("assert.callback") => [f2]
106 Reset callback options to use a class method
114 ini.get("assert.callback") => [f2]
123 Reset callback options to use an object method
137 ini.get("assert.callback") => [f2]