📁 File Manager Pro
v10.0.3 | PHP: 8.2.31
Server: LiteSpeed
2026-07-02 12:25:39
📂
/ (Root)
/
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
🔄 Refresh
✏️
Editing: 021.phpt
Read Only
--TEST-- RarEntry::isDirectory() basic test --SKIPIF-- <?php if(!extension_loaded("rar")) print "skip"; ?> --FILE-- <?php $rar_file1 = rar_open(dirname(__FILE__).'/directories.rar'); $entries = rar_list($rar_file1); foreach ($entries as $e) { echo "{$e->getName()} is ". ($e->isDirectory()?"":"not ") . "a directory.\n"; } echo "Done\n"; --EXPECTF-- dirwithsth%cfileindir.txt is not a directory. dirwithsth is a directory. emptydir is a directory. Done
💾 Save Changes
❌ Cancel