文件操作 - apc_store_array_int_keys.phpt
返回文件管理
返回主菜单
删除本文件
文件: /usr/local/src/apcu-5.1.19/tests/apc_store_array_int_keys.phpt
编辑文件内容
--TEST-- apcu_store() with int keys in array should convert them to string --SKIPIF-- <?php require_once(__DIR__ . '/skipif.inc'); ?> --INI-- apc.enabled=1 apc.enable_cli=1 --FILE-- <?php var_dump(apcu_add(["123" => "test"])); var_dump(apcu_store(["123" => "test"])); var_dump(apcu_add(["123" => "test"])); ?> --EXPECT-- array(0) { } array(0) { } array(1) { [123]=> int(-1) }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件