This repository has been archived by the owner on Sep 20, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We replace a call to strpos() with a modified regular expression. In fact, “0 === strpos(…)” is strictly equivalent to “^($regex)” in the preg_match() call. Moreover, we can remove a call to count().
- Loading branch information