- This would've fixed that test... removing clean section
@Greg: I commented out the call that breaks the Windows build, pending a decision about its future.
return EOF;
}
+ if (!zend_hash_num_elements(&phar->manifest)) {
+ return EOF;
+ }
+
if (phar->is_zip) {
return phar_zip_flush(phar, user_stub, len, convert, error TSRMLS_CC);
}
if (EG(return_value_ptr_ptr) && *EG(return_value_ptr_ptr)) {
zval_ptr_dtor(EG(return_value_ptr_ptr));
}
+ /*
if (EG(exception)) {
zend_throw_exception_internal(NULL TSRMLS_CC);
- }
+ } */
zend_bailout();
}
return PHAR_MIME_PHP;
}
?>
===DONE===
---CLEAN--
-<?php
-unlink(dirname(__FILE__) . '/whatever.tar');
-?>
--EXPECTF--
Warning: Phar::mungServer() expects parameter 1 to be array, string given in %sbadparameters.php on line %d