Opened 15 years ago
Closed 15 years ago
#7611 closed enhancement (fixed)
Use strpos() instead of strstr()
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.7 | Priority: | low |
Severity: | minor | Version: | 2.6.1 |
Component: | Optimization | Keywords: | has-patch |
Focuses: | Cc: |
Description
Following on from #7610, there are two places where strpos() could be used instead of strstr(). According to the PHP Manual, strpos() is faster and less memory intensive than strstr().
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Patch.