close
Skip to content

ext/date: Fix date error messages for embedded NULL bytes - #23363

Open
arshidkv12 wants to merge 6 commits into
php:masterfrom
arshidkv12:date-2
Open

ext/date: Fix date error messages for embedded NULL bytes#23363
arshidkv12 wants to merge 6 commits into
php:masterfrom
arshidkv12:date-2

Conversation

@arshidkv12

Copy link
Copy Markdown
Contributor

Created a separate PR: #22997

@arshidkv12
arshidkv12 requested a review from derickr as a code owner August 19, 2026 04:49
@arshidkv12 arshidkv12 changed the title ext/date: Fix date error messages for embedded NUL bytes ext/date: Fix date error messages for embedded NULL bytes Aug 19, 2026
Comment thread ext/date/tests/22993/dateInterval_unserialize_null_byte.phpt Outdated
Comment thread ext/date/tests/22993/datePeriod_create_iso8601_null_byte.phpt Outdated
Comment thread ext/date/tests/22993/dateTime_modify_embedded_null.phpt Outdated
Comment thread ext/date/tests/22993/timezone_set_null_byte.phpt Outdated
Comment thread ext/date/tests/22993/dateInterval_nul_byte.phpt Outdated
Comment thread ext/date/tests/22993/dateInterval_create_null_byte.phpt Outdated
Comment thread ext/date/tests/22993/date_interval_null_byte.phpt Outdated
Comment thread ext/date/tests/22993/nul-byte-error-message.phpt Outdated
arshidkv12 and others added 3 commits August 20, 2026 09:58
Co-authored-by: NickSdot <32384907+NickSdot@users.noreply.github.com>
Co-authored-by: NickSdot <32384907+NickSdot@users.noreply.github.com>

Update ext/date/tests/22993/dateTime_modify_embedded_null.phpt

Co-authored-by: NickSdot <32384907+NickSdot@users.noreply.github.com>

Update ext/date/tests/22993/dateInterval_create_null_byte.phpt

Co-authored-by: NickSdot <32384907+NickSdot@users.noreply.github.com>

Update ext/date/tests/22993/timezone_set_null_byte.phpt

Co-authored-by: NickSdot <32384907+NickSdot@users.noreply.github.com>

Update ext/date/tests/22993/nul-byte-error-message.phpt

Co-authored-by: NickSdot <32384907+NickSdot@users.noreply.github.com>

Update ext/date/tests/22993/dateInterval_nul_byte.phpt

Co-authored-by: NickSdot <32384907+NickSdot@users.noreply.github.com>

Update ext/date/tests/22993/date_interval_null_byte.phpt

Co-authored-by: NickSdot <32384907+NickSdot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants