Skip to content

Commit 1e3509b

Browse files
committed
Fix null byte comment
1 parent 68f47b6 commit 1e3509b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/date/php_date.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3409,7 +3409,7 @@ PHP_FUNCTION(timezone_open)
34093409
php_timezone_obj *tzobj;
34103410

34113411
ZEND_PARSE_PARAMETERS_START(1, 1)
3412-
Z_PARAM_PATH_STR(tz) /* To prevent nul bytes */
3412+
Z_PARAM_PATH_STR(tz) /* To prevent null bytes */
34133413
ZEND_PARSE_PARAMETERS_END();
34143414

34153415
tzobj = Z_PHPTIMEZONE_P(php_date_instantiate(date_ce_timezone, return_value));
@@ -3428,7 +3428,7 @@ PHP_METHOD(DateTimeZone, __construct)
34283428
zend_error_handling error_handling;
34293429

34303430
ZEND_PARSE_PARAMETERS_START(1, 1)
3431-
Z_PARAM_PATH_STR(tz) /* To prevent nul bytes */
3431+
Z_PARAM_PATH_STR(tz) /* To prevent null bytes */
34323432
ZEND_PARSE_PARAMETERS_END();
34333433

34343434
zend_replace_error_handling(EH_THROW, NULL, &error_handling);

0 commit comments

Comments
 (0)