![]() |
stripos()
<a href="http://www.php.net/manual/en/function.stripos.php" target="_blank">http://www.php.net/manual/en/function.stripos.php</a>
Anybody know for sure in what version of PHP this function was introduced? |
This won't be much help, but it doesn't work in the normal release of PHP4.3.1 with the following configures:
Quote:
|
I guess. It's an extremely useful function though, I hope it comes out soon.
|
Sure sounds like it! If it's your own server, you could download the source from CVS and compile it.. Works well, normally :)
|
Wouldn't
strpos(strtolower($haystack), strtolower($needle)) work just as well? |
Yes but why do that when there's a function that does it internally (probably faster, too)?
|
so just do a
PHP Code:
|
I solved the problem a while back and I'm doing something like that. I'm just saying a built-in PHP way will undoubtedly be faster.
|
So if you need the speed, re-compileing the CVS might be needed.. :)
|
I can't recompile on shared servers, let alone other people's servers...
|
All times are GMT. The time now is 12:34 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|