Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #1000 fix: Replace str_starts_with by strncmp (PHP7 compatibility…
…) (PROFeNoM) This PR was merged into the 1.x branch. Discussion ---------- fix: Replace str_starts_with by strncmp (PHP7 compatibility) Hi 👋 The [v1.21.0](https://github.com/symfony/flex/releases/tag/v1.21.0) tag release made a few hours ago started breaking compatibility with PHP7 because of the use of `str_starts_with`. This PR replaces `str_starts_with` by `strncmp`, as suggested by the [rfc](https://wiki.php.net/rfc/add_str_starts_with_and_ends_with_functions) 😃 Commits ------- 07e35fa fix: Replace str_starts_with by strncmp (PHP7 compatibility)
- Loading branch information