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

What are the advantages and disadvantages of cascade style sheets?

0 Answers  


What is mod_php?

0 Answers  


What is the role of php?

0 Answers  


What is factory pattern in php?

0 Answers  


What are the php variables?

0 Answers  


What is the Default syntax used in PHP?

0 Answers  


What do the initials of php stand for?

0 Answers  


What is mysql in php?

0 Answers  


What is php and what does it do?

0 Answers  


How can you send http header to the client in php?

0 Answers  


What is php key?

0 Answers  


hi, i have knowledge about PHP/MYSQL,i am fresher of M.Sc-IT 2009 pass out,any recruitment in PHP please let me know.my email id:nathiyasms@gmail.com

0 Answers  


Categories