Skip to content

Commit 5be62fd

Browse files
committed
Use ZEND_FALLTHROUGH instead of a comment in PDO
1 parent 120562f commit 5be62fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pdo/pdo_dbh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ PDO_API bool pdo_get_long_param(zend_long *lval, zval *value)
690690
if (IS_LONG == is_numeric_str_function(Z_STR_P(value), lval, NULL)) {
691691
return true;
692692
}
693-
/* fallthrough */
693+
ZEND_FALLTHROUGH;
694694
default:
695695
zend_type_error("Attribute value must be of type int for selected attribute, %s given", zend_zval_type_name(value));
696696
return false;

0 commit comments

Comments
 (0)