Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the functionality of the function strstr and stristr?

Answers were Sorted based on User's Feedback



What is the functionality of the function strstr and stristr?..

Answer / arvind pippal(delhi)

strstr() function is used to return the sub string from
first occurrence of string point from the string base.If
string point is not found, returns FALSE. syntax: strstr
(string base,string point)
examle: <?php
$email = 'arvindpippal@gmail.com';
$domain = strstr($email, '@');
echo $domain;
?>
output: @gmail.com
stristr() does the same thing in Case-insensitive manner

Is This Answer Correct ?    23 Yes 3 No

What is the functionality of the function strstr and stristr?..

Answer / umapathi

strstr-finds the first occurence of a string inside another
string (case-sensitive)
stristr-finds the first occurence of a string inside
another string (case-insensitive)

Is This Answer Correct ?    17 Yes 3 No

Post New Answer

More PHP Interview Questions

Is json a string php?

0 Answers  


What is form validation in php?

0 Answers  


What is regular expression in php?

0 Answers  


How can you propagate a session id?

0 Answers  


What is the output of the following php code?

0 Answers  


What is php dependency injection?

0 Answers  


List out the predefined classes in PHP?

11 Answers  


Is ruby on rails php?

0 Answers  


How does session work in php?

0 Answers  


Tools used for drawing er diagrams?

0 Answers  


Which will check if a function exists?

0 Answers  


Where are cookies stored php?

0 Answers  


Categories