golden hour
/opt/alt/tests/alt-php71-pecl-apcu_5.1.23-1.el9/tests
⬆️ Go Up
Upload
File/Folder
Size
Actions
apc_001.phpt
513 B
Del
OK
apc_002.phpt
481 B
Del
OK
apc_003b.phpt
1.74 KB
Del
OK
apc_003b_legacy.phpt
1.69 KB
Del
OK
apc_004.phpt
654 B
Del
OK
apc_005.phpt
635 B
Del
OK
apc_005b.phpt
705 B
Del
OK
apc_005c.phpt
800 B
Del
OK
apc_006.phpt
1.13 KB
Del
OK
apc_006_php73.phpt
1.02 KB
Del
OK
apc_006_php81.phpt
1.25 KB
Del
OK
apc_007.phpt
1.05 KB
Del
OK
apc_008.phpt
838 B
Del
OK
apc_010.phpt
1.3 KB
Del
OK
apc_011.phpt
380 B
Del
OK
apc_012.phpt
606 B
Del
OK
apc_013_exists.phpt
407 B
Del
OK
apc_014_store_ref.phpt
392 B
Del
OK
apc_015.phpt
255 B
Del
OK
apc_016.phpt
613 B
Del
OK
apc_017.phpt
326 B
Del
OK
apc_018.phpt
193 B
Del
OK
apc_019.phpt
732 B
Del
OK
apc_020.phpt
802 B
Del
OK
apc_021.phpt
903 B
Del
OK
apc_022.phpt
620 B
Del
OK
apc_023.phpt
1.15 KB
Del
OK
apc_024.phpt
327 B
Del
OK
apc_025.phpt
423 B
Del
OK
apc_099.phpt
399 B
Del
OK
apc_disabled.phpt
1.83 KB
Del
OK
apc_entry_001.phpt
523 B
Del
OK
apc_entry_002.phpt
434 B
Del
OK
apc_entry_003.phpt
284 B
Del
OK
apc_entry_recursion.phpt
374 B
Del
OK
apc_inc_perf.phpt
548 B
Del
OK
apc_store_array_int_keys.phpt
382 B
Del
OK
apc_store_array_with_refs.phpt
254 B
Del
OK
apc_store_reference.phpt
635 B
Del
OK
apc_store_reference_php8.phpt
606 B
Del
OK
apc_store_string_reuse.phpt
217 B
Del
OK
apcu_fetch_empty_array_reference.phpt
693 B
Del
OK
apcu_sma_info.phpt
583 B
Del
OK
bad
-
Del
OK
bug76145.phpt
886 B
Del
OK
data
-
Del
OK
get_included_files_inc1.inc
28 B
Del
OK
get_included_files_inc2.inc
87 B
Del
OK
get_included_files_inc3.inc
87 B
Del
OK
ghbug168.phpt
469 B
Del
OK
ghbug185.phpt
1.12 KB
Del
OK
ghbug247.phpt
324 B
Del
OK
ghbug248.phpt
2.92 KB
Del
OK
ghbug335-fail.phpt
680 B
Del
OK
ghbug335.phpt
673 B
Del
OK
iterator_001.phpt
1.73 KB
Del
OK
iterator_002.phpt
541 B
Del
OK
iterator_003.phpt
1.75 KB
Del
OK
iterator_004.phpt
594 B
Del
OK
iterator_005.phpt
1.78 KB
Del
OK
iterator_006.phpt
16.52 KB
Del
OK
iterator_007.phpt
1.37 KB
Del
OK
iterator_008.phpt
512 B
Del
OK
iterator_009.phpt
382 B
Del
OK
iterator_010.phpt
942 B
Del
OK
iterator_011.phpt
665 B
Del
OK
not_enough_shm.phpt
329 B
Del
OK
server_test.inc
4.22 KB
Del
OK
skipif.inc
79 B
Del
OK
sma001.phpt
575 B
Del
OK
typed_prop.phpt
678 B
Del
OK
Edit: apc_disabled.phpt
--TEST-- Behavior of functions when apcu is disabled --INI-- apc.enable_cli=0 --FILE-- <?php echo "enabled\n"; var_dump(apcu_enabled()); echo "\nclear_cache\n"; var_dump(apcu_clear_cache()); echo "\ncache/sma_info\n"; var_dump(apcu_cache_info()); var_dump(apcu_sma_info()); echo "\nstore/add/exists/fetch/key_info/delete\n"; var_dump(apcu_store("key", "value")); var_dump(apcu_add("key", "value")); var_dump(apcu_exists("key")); var_dump(apcu_fetch("key")); var_dump(apcu_key_info("key")); var_dump(apcu_delete("key")); echo "\nstore/add/exists/fetch/delete array\n"; var_dump(apcu_store(["key" => "value"])); var_dump(apcu_add(["key" => "value"])); var_dump(apcu_exists(["key"])); var_dump(apcu_fetch(["key"])); var_dump(apcu_delete(["key"])); echo "\ninc/dec/cas\n"; var_dump(apcu_inc("key", 1, $succ_inc)); var_dump($succ_inc); var_dump(apcu_dec("key", 1, $succ_dec)); var_dump($succ_dec); var_dump(apcu_cas("key", 10, 20)); echo "\nentry\n"; var_dump(apcu_entry("key", function() { return 42; })); echo "\niterator\n"; try { new APCUIterator; } catch (Error $e) { echo $e->getMessage(), "\n"; } ?> --EXPECTF-- enabled bool(false) clear_cache bool(true) cache/sma_info Warning: apcu_cache_info(): No APC info available. Perhaps APC is not enabled? Check apc.enabled in your ini file in %s on line %d bool(false) Warning: apcu_sma_info(): No APC SMA info available. Perhaps APC is disabled via apc.enabled? in %s on line %d bool(false) store/add/exists/fetch/key_info/delete bool(false) bool(false) bool(false) bool(false) NULL bool(false) store/add/exists/fetch/delete array array(1) { ["key"]=> int(-1) } array(1) { ["key"]=> int(-1) } array(0) { } array(0) { } array(1) { [0]=> string(3) "key" } inc/dec/cas bool(false) bool(false) bool(false) bool(false) bool(false) entry NULL iterator APC must be enabled to use APCUIterator
Save