Skip to content

Commit 0ba31e1

Browse files
committed
Change leftover RETURN_FALSE to RETURN_THROWS() from 4095c0a
1 parent 4095c0a commit 0ba31e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/bz2/bz2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ PHP_FUNCTION(bzopen)
351351
if (Z_TYPE_P(file) == IS_STRING) {
352352
if (Z_STRLEN_P(file) == 0) {
353353
zend_argument_value_error(1, "cannot be empty");
354-
RETURN_FALSE;
354+
RETURN_THROWS();
355355
}
356356

357357
if (CHECK_ZVAL_NULL_PATH(file)) {

0 commit comments

Comments
 (0)