From the PHP online manual:
If you only want to determine if a
particular needle occurs within
haystack, use the faster and less
memory intensive functionstrpos()
instead.
More Related Contents:
- How do search array values and remove them based on a condition or string? [closed]
- Warning: strpos(): Empty needle in /XXX/post.php on line XXXX
- Using an array as needles in strpos
- Simple PHP strpos function not working, why?
- php 5 strpos() difference between returning 0 and false?
- PHP check if file contains a string
- How to make strpos case insensitive
- Change value in php [closed]
- Display in stock data in short description [closed]
- PHP session lost after redirect
- How to replace Microsoft-encoded quotes in PHP
- Bulk Insertion in Laravel using eloquent ORM
- Importing CSV data using PHP/MySQL
- Super fast getimagesize in php
- PDO multiple queries
- Get Element by ClassName with DOMdocument() Method
- PHP Startup Unable to load dynamic library php_mongo.dll
- NOW() function in PHP
- WooCommerce: Set country by default in checkout page
- How to download large files through PHP script [duplicate]
- Is mysqli extension enabled in this php configuration?
- php function variable scope
- Friendship system with Laravel : Many to Many relationship
- PHP Ajax Upload Progress Bar
- MySQL & PHP Parameter 1 as Resource
- JSON vs. Serialized Array in database [closed]
- What does =& mean in PHP?
- How To Discover RSS Feeds for a given URL
- JSON Search and remove in php?
- How do I restrict JSON access?