X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php80-pecl-apcu_5.1.23-1.el8/tests
opt
/
alt
/
tests
/
alt-php80-pecl-apcu_5.1.23-1.el8
/
tests
/
ðŸ“
..
📄
apc_001.phpt
(513 B)
📄
apc_002.phpt
(481 B)
📄
apc_003b.phpt
(1.74 KB)
📄
apc_003b_legacy.phpt
(1.69 KB)
📄
apc_004.phpt
(654 B)
📄
apc_005.phpt
(635 B)
📄
apc_005b.phpt
(705 B)
📄
apc_005c.phpt
(800 B)
📄
apc_006.phpt
(1.13 KB)
📄
apc_006_php73.phpt
(1.02 KB)
📄
apc_006_php81.phpt
(1.25 KB)
📄
apc_007.phpt
(1.05 KB)
📄
apc_008.phpt
(838 B)
📄
apc_010.phpt
(1.3 KB)
📄
apc_011.phpt
(380 B)
📄
apc_012.phpt
(606 B)
📄
apc_013_exists.phpt
(407 B)
📄
apc_014_store_ref.phpt
(392 B)
📄
apc_015.phpt
(255 B)
📄
apc_016.phpt
(613 B)
📄
apc_017.phpt
(326 B)
📄
apc_018.phpt
(193 B)
📄
apc_019.phpt
(732 B)
📄
apc_020.phpt
(802 B)
📄
apc_021.phpt
(903 B)
📄
apc_022.phpt
(620 B)
📄
apc_023.phpt
(1.15 KB)
📄
apc_024.phpt
(327 B)
📄
apc_025.phpt
(423 B)
📄
apc_099.phpt
(399 B)
📄
apc_disabled.phpt
(1.83 KB)
📄
apc_entry_001.phpt
(523 B)
📄
apc_entry_002.phpt
(434 B)
📄
apc_entry_003.phpt
(284 B)
📄
apc_entry_recursion.phpt
(374 B)
📄
apc_inc_perf.phpt
(548 B)
📄
apc_store_array_int_keys.phpt
(382 B)
📄
apc_store_array_with_refs.phpt
(254 B)
📄
apc_store_reference.phpt
(635 B)
📄
apc_store_reference_php8.phpt
(606 B)
📄
apc_store_string_reuse.phpt
(217 B)
📄
apcu_fetch_empty_array_reference.phpt
(693 B)
📄
apcu_sma_info.phpt
(583 B)
ðŸ“
bad
📄
bug76145.phpt
(886 B)
ðŸ“
data
📄
get_included_files_inc1.inc
(28 B)
📄
get_included_files_inc2.inc
(87 B)
📄
get_included_files_inc3.inc
(87 B)
📄
ghbug168.phpt
(469 B)
📄
ghbug185.phpt
(1.12 KB)
📄
ghbug247.phpt
(324 B)
📄
ghbug248.phpt
(2.92 KB)
📄
ghbug335-fail.phpt
(680 B)
📄
ghbug335.phpt
(673 B)
📄
iterator_001.phpt
(1.73 KB)
📄
iterator_002.phpt
(541 B)
📄
iterator_003.phpt
(1.75 KB)
📄
iterator_004.phpt
(594 B)
📄
iterator_005.phpt
(1.78 KB)
📄
iterator_006.phpt
(16.52 KB)
📄
iterator_007.phpt
(1.37 KB)
📄
iterator_008.phpt
(512 B)
📄
iterator_009.phpt
(382 B)
📄
iterator_010.phpt
(942 B)
📄
iterator_011.phpt
(665 B)
📄
not_enough_shm.phpt
(329 B)
📄
server_test.inc
(4.22 KB)
📄
skipif.inc
(79 B)
📄
sma001.phpt
(575 B)
📄
typed_prop.phpt
(678 B)
Editing: apc_008.phpt
--TEST-- APC: apcu_cas test --SKIPIF-- <?php require_once(dirname(__FILE__) . '/skipif.inc'); ?> --INI-- apc.enabled=1 apc.enable_cli=1 --FILE-- <?php apcu_store('foobar',2); echo "\$foobar = 2\n"; echo "\$foobar == 1 ? 2 : 1 = ".(apcu_cas('foobar', 1, 2)?"ok":"fail")."\n"; echo "\$foobar == 2 ? 1 : 2 = ".(apcu_cas('foobar', 2, 1)?"ok":"fail")."\n"; echo "\$foobar = ".apcu_fetch("foobar")."\n"; echo "\$f__bar == 1 ? 2 : 1 = ".(apcu_cas('f__bar', 1, 2)?"ok":"fail")."\n"; apcu_store('perfection', "xyz"); echo "\$perfection == 2 ? 1 : 2 = ".(apcu_cas('perfection', 2, 1)?"ok":"epic fail")."\n"; echo "\$foobar = ".apcu_fetch("foobar")."\n"; ?> ===DONE=== --EXPECT-- $foobar = 2 $foobar == 1 ? 2 : 1 = fail $foobar == 2 ? 1 : 2 = ok $foobar = 1 $f__bar == 1 ? 2 : 1 = fail $perfection == 2 ? 1 : 2 = epic fail $foobar = 1 ===DONE===
Upload File
Create Folder