zendframework / zend-filter

Filter component from Zend Framework
BSD 3-Clause "New" or "Revised" License
68 stars 35 forks source link

replace strstr to strpos #59

Closed samsonasik closed 6 years ago

samsonasik commented 7 years ago

based on php manual at http://php.net/manual/en/function.strstr.php

 If you only want to determine if a particular needle occurs within haystack, use the faster and less memory intensive function strpos() instead. 
weierophinney commented 6 years ago

Thanks, @samsonasik!