golden hour
/opt/alt/tests/alt-php71-pecl-rar_4.2.0-1.el9/tests
⬆️ Go Up
Upload
File/Folder
Size
Actions
001.phpt
576 B
Del
OK
002.phpt
3.51 KB
Del
OK
003.phpt
2.05 KB
Del
OK
004.phpt
2.05 KB
Del
OK
005.phpt
789 B
Del
OK
006.phpt
413 B
Del
OK
007.phpt
340 B
Del
OK
008.phpt
905 B
Del
OK
009.phpt
362 B
Del
OK
010.phpt
531 B
Del
OK
011.phpt
945 B
Del
OK
012.phpt
857 B
Del
OK
013.phpt
429 B
Del
OK
014.phpt
496 B
Del
OK
015.phpt
699 B
Del
OK
016.phpt
974 B
Del
OK
017.phpt
457 B
Del
OK
018.phpt
668 B
Del
OK
019.phpt
782 B
Del
OK
020.phpt
818 B
Del
OK
021.phpt
456 B
Del
OK
022.phpt
792 B
Del
OK
023.phpt
455 B
Del
OK
024.phpt
1.23 KB
Del
OK
025.phpt
688 B
Del
OK
026.phpt
1.77 KB
Del
OK
027.phpt
1.73 KB
Del
OK
028.phpt
270 B
Del
OK
029.phpt
553 B
Del
OK
030.phpt
331 B
Del
OK
031.phpt
312 B
Del
OK
032.phpt
418 B
Del
OK
033.phpt
608 B
Del
OK
034.phpt
447 B
Del
OK
035.phpt
534 B
Del
OK
036.phpt
513 B
Del
OK
037.phpt
685 B
Del
OK
038.phpt
402 B
Del
OK
039.phpt
425 B
Del
OK
040.phpt
689 B
Del
OK
041.phpt
689 B
Del
OK
042.phpt
953 B
Del
OK
043.phpt
1.06 KB
Del
OK
044.phpt
922 B
Del
OK
046.phpt
955 B
Del
OK
047.phpt
1.12 KB
Del
OK
048.phpt
808 B
Del
OK
049.phpt
980 B
Del
OK
050.phpt
290 B
Del
OK
051.phpt
1.45 KB
Del
OK
052.phpt
730 B
Del
OK
053.phpt
1.63 KB
Del
OK
054.phpt
2.86 KB
Del
OK
055.phpt
788 B
Del
OK
056.phpt
652 B
Del
OK
057.phpt
337 B
Del
OK
058.phpt
394 B
Del
OK
059.phpt
2.45 KB
Del
OK
060.phpt
1.01 KB
Del
OK
061.phpt
426 B
Del
OK
062.phpt
1.13 KB
Del
OK
063.phpt
503 B
Del
OK
064.phpt
1.07 KB
Del
OK
065.phpt
1.63 KB
Del
OK
066.phpt
1.63 KB
Del
OK
067.phpt
1.5 KB
Del
OK
068.phpt
480 B
Del
OK
069.phpt
473 B
Del
OK
070.phpt
302 B
Del
OK
071.phpt
425 B
Del
OK
072.phpt
434 B
Del
OK
073.phpt
547 B
Del
OK
074.phpt
695 B
Del
OK
075.phpt
1.39 KB
Del
OK
076.phpt
1.51 KB
Del
OK
077.phpt
1018 B
Del
OK
078.phpt
1.47 KB
Del
OK
079.phpt
1.3 KB
Del
OK
080.phpt
2.3 KB
Del
OK
081.phpt
2.54 KB
Del
OK
082.phpt
767 B
Del
OK
085.phpt
383 B
Del
OK
086.phpt
454 B
Del
OK
087.phpt
423 B
Del
OK
088.phpt
453 B
Del
OK
089.phpt
339 B
Del
OK
090.phpt
487 B
Del
OK
091.phpt
2.08 KB
Del
OK
092.phpt
1.98 KB
Del
OK
093.phpt
418 B
Del
OK
094.phpt
506 B
Del
OK
095.phpt
2.33 KB
Del
OK
096.phpt
744 B
Del
OK
097.phpt
756 B
Del
OK
098.phpt
815 B
Del
OK
099.phpt
607 B
Del
OK
100.phpt
678 B
Del
OK
101.phpt
1.25 KB
Del
OK
102.phpt
407 B
Del
OK
103.phpt
400 B
Del
OK
104.phpt
559 B
Del
OK
105.phpt
505 B
Del
OK
106.phpt
339 B
Del
OK
107.phpt
1.24 KB
Del
OK
108.phpt
261 B
Del
OK
109.phpt
289 B
Del
OK
110.phpt
280 B
Del
OK
111.phpt
262 B
Del
OK
112.phpt
260 B
Del
OK
113.phpt
408 B
Del
OK
114.phpt
1.81 KB
Del
OK
115.phpt
420 B
Del
OK
4mb.rar
2.46 KB
Del
OK
commented.rar
165 B
Del
OK
corrupted.rar
3.35 KB
Del
OK
directories.rar
212 B
Del
OK
dirlink_unix.rar
681 B
Del
OK
dirs_and_extra_headers.rar
4.01 KB
Del
OK
empty_file.rar
77 B
Del
OK
encrypted_headers.rar
284 B
Del
OK
encrypted_only_files.rar
237 B
Del
OK
garbage.part03.rar
900 B
Del
OK
latest_winrar.rar
712 B
Del
OK
linux_rar.rar
175 B
Del
OK
multi.part1.rar
4.88 KB
Del
OK
multi.part2.rar
4.88 KB
Del
OK
multi.part3.rar
3.95 KB
Del
OK
multi_broken.part1.rar
4.88 KB
Del
OK
php8compat.php.inc
567 B
Del
OK
rar5-links.rar
276 B
Del
OK
rar5_multi.part1.rar
50 KB
Del
OK
rar5_multi.part2.rar
6.27 KB
Del
OK
rar_notrar.rar
692 B
Del
OK
rar_unicode.rar
100 B
Del
OK
repeated_name.rar
162 B
Del
OK
secret-crypted-none.rar
3.71 KB
Del
OK
secret-none.rar
3.66 KB
Del
OK
solid.rar
4.94 KB
Del
OK
sparsefiles_rar.rar
5.56 KB
Del
OK
store_method.rar
859 B
Del
OK
Edit: 078.phpt
--TEST-- Traversal of volume with only an archive continue from last volume --SKIPIF-- <?php if(!extension_loaded("rar")) print "skip"; ?> --FILE-- <?php $f = dirname(__FILE__) . "/garbage.part03.rar"; echo "Traversal with rar_list:\n"; $a = RarArchive::open($f); var_dump(rar_list($a)); echo "Traversal with rar_list (again with the same object):\n"; var_dump(rar_list($a)); echo "\nTraversal with foreach:\n"; $a = RarArchive::open($f); foreach ($a as $e) { die("should not get here"); } echo "Success.\n"; echo "\nUsage of RarArchive::getEntry:\n"; $a = RarArchive::open($f); var_dump($a->getEntry("garbage.txt")); echo "\nUsage of directory stream:\n"; $it = new DirectoryIterator("rar://" . rawurlencode($f)); foreach ($it as $e) { die("should not get here"); } echo "Success.\n"; echo "\nUsage of static url stat:\n"; stat("rar://" . rawurlencode($f) . "#not_there"); echo "Success.\n"; echo "\n"; echo "Done.\n"; --EXPECTF-- Traversal with rar_list: array(0) { } Traversal with rar_list (again with the same object): array(0) { } Traversal with foreach: Success. Usage of RarArchive::getEntry: Warning: RarArchive::getEntry(): cannot find file "garbage.txt" in Rar archive "%sgarbage.part03.rar" in %s on line %d bool(false) Usage of directory stream: Success. Usage of static url stat: Warning: stat(): Found no entry not_there in archive %sgarbage.part03.rar in %s on line %d Warning: stat(): stat failed for rar://%sgarbage.part03.rar#not_there in %s on line %d Success. Done.
Save