deballer($destination, array('test.txt')); $ok &= file_exists($destination . '/test.txt'); $ok &= !file_exists($destination . '/sousrep/fichier'); $ok &= $archive->deballer($destination); $ok &= file_exists($destination . '/test.txt'); $ok &= file_exists($destination . '/sousrep/fichier'); nettoyer_contenu_de_test(contenu_de_test(), $destination); nettoyer_environnement_test(); if ($ok) { echo 'OK'; }