--TEST-- test symbolic links --SKIPIF-- --FILE-- extract('', false, false); $phpunit->assertErrors(array( array( 'package' => 'PEAR_Error', 'message' => 'Symbolic links are not allowed. Unable to extract {testme/symlink.txt}' ), ), 'Warning thrown'); $phpunit->assertFileExists('testme', 'dir'); $phpunit->assertFileNotExists('testme/file1.txt', 'file1.txt'); $phpunit->assertFileNotExists('testme/symlink.txt', 'symlink.txt'); echo 'tests done'; ?> --CLEAN-- --EXPECT-- tests done