--TEST-- RarEntry::getHostOs() --SKIPIF-- getEntry('4mb.txt'); var_dump($e->getHostOs()); var_dump(RarEntry::HOST_WIN32); echo "Done.\n"; --EXPECTF-- int(2) int(2) Done.