--TEST-- rar_comment_get() function --SKIPIF-- --FILE-- getComment()); echo "\n"; $rar_file2 = rar_open(dirname(__FILE__).'/linux_rar.rar'); var_export(rar_comment_get($rar_file2)); echo "\n"; rar_close($rar_file2); var_export(rar_comment_get($rar_file2)); echo "\n"; echo "Done\n"; ?> --EXPECTF-- 'This is the comment of the file commented.rar.' 'This is the comment of the file commented.rar.' 'This is the comment of the file commented.rar.' NULL Warning: rar_comment_get(): The archive is already closed in %s on line %d false Done