X7ROOT File Manager
Current Path:
/opt/alt/tests/alt-php83-pecl-rar_4.2.0-3.el8/tests
opt
/
alt
/
tests
/
alt-php83-pecl-rar_4.2.0-3.el8
/
tests
/
??
..
??
001.phpt
(576 B)
??
002.phpt
(3.51 KB)
??
003.phpt
(2.04 KB)
??
004.phpt
(2.05 KB)
??
005.phpt
(789 B)
??
006.phpt
(413 B)
??
007.phpt
(340 B)
??
008.phpt
(902 B)
??
009.phpt
(362 B)
??
010.phpt
(531 B)
??
011.phpt
(945 B)
??
012.phpt
(857 B)
??
013.phpt
(429 B)
??
014.phpt
(496 B)
??
015.phpt
(699 B)
??
016.phpt
(974 B)
??
017.phpt
(457 B)
??
018.phpt
(668 B)
??
019.phpt
(782 B)
??
020.phpt
(818 B)
??
021.phpt
(456 B)
??
022.phpt
(792 B)
??
023.phpt
(455 B)
??
024.phpt
(1.23 KB)
??
025.phpt
(688 B)
??
027.phpt
(1.73 KB)
??
028.phpt
(270 B)
??
029.phpt
(553 B)
??
030.phpt
(331 B)
??
031.phpt
(312 B)
??
032.phpt
(418 B)
??
033.phpt
(608 B)
??
034.phpt
(447 B)
??
035.phpt
(534 B)
??
036.phpt
(513 B)
??
037.phpt
(685 B)
??
038.phpt
(402 B)
??
039.phpt
(425 B)
??
040.phpt
(689 B)
??
041.phpt
(689 B)
??
042.phpt
(953 B)
??
043.phpt
(1.06 KB)
??
044.phpt
(922 B)
??
046.phpt
(955 B)
??
047.phpt
(1.12 KB)
??
048.phpt
(808 B)
??
049.phpt
(980 B)
??
050.phpt
(290 B)
??
051.phpt
(1.45 KB)
??
052.phpt
(730 B)
??
053.phpt
(1.63 KB)
??
054.phpt
(2.86 KB)
??
055.phpt
(788 B)
??
056.phpt
(652 B)
??
057.phpt
(337 B)
??
058.phpt
(394 B)
??
059.phpt
(2.45 KB)
??
060.phpt
(1.01 KB)
??
061.phpt
(426 B)
??
062.phpt
(1.13 KB)
??
063.phpt
(503 B)
??
064.phpt
(1.07 KB)
??
065.phpt
(1.63 KB)
??
067.phpt
(1.5 KB)
??
068.phpt
(480 B)
??
069.phpt
(473 B)
??
070.phpt
(302 B)
??
071.phpt
(425 B)
??
072.phpt
(434 B)
??
073.phpt
(547 B)
??
074.phpt
(695 B)
??
075.phpt
(1.39 KB)
??
076.phpt
(1.51 KB)
??
077.phpt
(1018 B)
??
078.phpt
(1.47 KB)
??
079.phpt
(1.3 KB)
??
080.phpt
(2.3 KB)
??
081.phpt
(2.54 KB)
??
082.phpt
(767 B)
??
085.phpt
(383 B)
??
086.phpt
(454 B)
??
087.phpt
(423 B)
??
088.phpt
(453 B)
??
089.phpt
(339 B)
??
090.phpt
(487 B)
??
091.phpt
(2.08 KB)
??
092.phpt
(1.98 KB)
??
093.phpt
(418 B)
??
094.phpt
(506 B)
??
095.phpt
(2.33 KB)
??
096.phpt
(744 B)
??
097.phpt
(756 B)
??
098.phpt
(815 B)
??
099.phpt
(607 B)
??
100.phpt
(678 B)
??
101.phpt
(1.25 KB)
??
102.phpt
(407 B)
??
103.phpt
(400 B)
??
104.phpt
(559 B)
??
105.phpt
(505 B)
??
106.phpt
(339 B)
??
107.phpt
(1.24 KB)
??
108.phpt
(261 B)
??
109.phpt
(289 B)
??
110.phpt
(280 B)
??
111.phpt
(262 B)
??
112.phpt
(260 B)
??
113.phpt
(408 B)
??
114.phpt
(1.81 KB)
??
115.phpt
(420 B)
??
4mb.rar
(2.46 KB)
??
commented.rar
(165 B)
??
corrupted.rar
(3.35 KB)
??
directories.rar
(212 B)
??
dirlink_unix.rar
(681 B)
??
dirs_and_extra_headers.rar
(4.01 KB)
??
empty_file.rar
(77 B)
??
encrypted_headers.rar
(284 B)
??
encrypted_only_files.rar
(237 B)
??
garbage.part03.rar
(900 B)
??
latest_winrar.rar
(712 B)
??
linux_rar.rar
(175 B)
??
multi.part1.rar
(4.88 KB)
??
multi.part2.rar
(4.88 KB)
??
multi.part3.rar
(3.95 KB)
??
multi_broken.part1.rar
(4.88 KB)
??
php8compat.php.inc
(567 B)
??
rar5-links.rar
(276 B)
??
rar5_multi.part1.rar
(50 KB)
??
rar5_multi.part2.rar
(6.27 KB)
??
rar_notrar.rar
(692 B)
??
rar_unicode.rar
(100 B)
??
repeated_name.rar
(162 B)
??
secret-crypted-none.rar
(3.71 KB)
??
secret-none.rar
(3.66 KB)
??
solid.rar
(4.94 KB)
??
sparsefiles_rar.rar
(5.56 KB)
??
store_method.rar
(859 B)
Editing: 075.phpt
--TEST-- RarEntry::getStream NULL can be given to indicate there's no password --SKIPIF-- <?php if(!extension_loaded("rar")) print "skip"; ?> --FILE-- <?php $file = RarArchive::open(dirname(__FILE__) . '/encrypted_only_files.rar'); foreach ($file as $e) { echo "* No password given:\n"; $stream = $e->getStream(); var_dump($stream); echo "\n* NULL given (should have the same effect as no password):\n"; $stream = $e->getStream(NULL); var_dump($stream); echo "\n* empty string given as password (should have the same effect; " . "rar disallows empty passwords):\n"; $stream = $e->getStream(''); var_dump($stream); echo "\n* non-empty password given; should give stream:\n"; $stream = $e->getStream('bugabuga'); var_dump($stream); break; } echo "\n"; echo "Done.\n"; --EXPECTF-- * No password given: Warning: RarEntry::getStream(): ERAR_MISSING_PASSWORD (password needed but not specified) in %s on line %d bool(false) * NULL given (should have the same effect as no password): Warning: RarEntry::getStream(): ERAR_MISSING_PASSWORD (password needed but not specified) in %s on line %d bool(false) * empty string given as password (should have the same effect; rar disallows empty passwords): Warning: RarEntry::getStream(): ERAR_MISSING_PASSWORD (password needed but not specified) in %s on line %d bool(false) * non-empty password given; should give stream: resource(%d) of type (stream) Done.
Upload File
Create Folder