apc_delete_file
Deletes files from the opcode cache
&reftitle.description;
mixedapc_delete_file
mixedkeys
Deletes the given files from the opcode cache.
&reftitle.parameters;
keys
The files to be deleted. Accepts a string,
array of strings, or an APCIterator
object.
&reftitle.returnvalues;
&return.success;
Or if keys is an array, then
an empty array is returned on success, or an array of failed files
is returned.
&reftitle.examples;
apc_delete_file example
]]>
&example.outputs.similar;
string(14) "donotexist.php"
}
[Mon May 24 09:30:33 2010] [apc-warning] Could not stat file donotexist.php, unable to delete from cache. in /tmp/test.php on line 18.
bool(false)
]]>
&reftitle.seealso;
apc_clear_cache
apc_delete
apc_exists