|
apc_delete_file(PECL apc >= 3.1.1) apc_delete_file — Deletes files from the opcode cache Список параметров
Возвращаемые значенияВозвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки. Or if keys is an array, then an empty array is returned on success, or an array of failed files is returned. ПримерыПример #1 apc_delete_file() example
<?php Результатом выполнения данного примера будет что-то подобное: Successfully deleted file file.php from APC cache. [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 13. array(1) { [0]=> 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) Смотрите также
|
|