📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 15:02:58
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php84-pecl-rar_4.2.0-3.el8
/
tests
📍 /opt/alt/tests/alt-php84-pecl-rar_4.2.0-3.el8/tests
🔄 Refresh
✏️
Editing: 052.phpt
Read Only
--TEST-- Stream wrapper archive/file not found --SKIPIF-- <?php if(!extension_loaded("rar")) die("skip"); --FILE-- <?php echo "Archive not found :\n"; $stream = fopen("rar://" . dirname(__FILE__) . "/not_found.rar" . "#1.txt", "r"); echo "\nFile not found :\n"; $stream = fopen("rar://" . dirname(__FILE__) . "/latest_winrar.rar" . "#not_found.txt", "r"); echo "Done.\n"; --EXPECTF-- Archive not found : Warning: fopen(rar://%snot_found.rar#1.txt): %cailed to open stream: Error opening RAR archive %snot_found.rar: ERAR_EOPEN (file open error) in %s on line %d File not found : Warning: fopen(rar://%slatest_winrar.rar#not_found.txt): %cailed to open stream: Can't file not_found.txt in RAR archive %s on line %d Done.
💾 Save Changes
❌ Cancel