Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update string function usage for PHP 8 #249

Merged
merged 1 commit into from
Feb 23, 2022
Merged

Conversation

gudmdharalds
Copy link
Contributor

@gudmdharalds gudmdharalds commented Feb 23, 2022

This pull request updates usage of string functions.

TODO:

  • substr() in PHP 8.0 and later returns empty string rather than false (see here). Update code accordingly.
  • Check strpos() usage, as it is changed in PHP 8.0 (see here).
  • Check strrpos() usage due to same reasons.
  • Check automated unit-tests
  • Changelog entry (for VIP) [ Changelog for version 1.2.0 #243 ]

@gudmdharalds gudmdharalds added this to the 1.2.0 milestone Feb 23, 2022
@gudmdharalds gudmdharalds self-assigned this Feb 23, 2022
@gudmdharalds gudmdharalds merged commit 8c25da4 into main Feb 23, 2022
@gudmdharalds gudmdharalds deleted the fix-substr-strpos branch February 23, 2022 13:48
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.

1 participant