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 of triggers?

0 Answers  


What is an array in php?

0 Answers  


Explain Type hinting in PHP?

0 Answers  


Who is the father or inventor of php?

0 Answers  


How does the identity operator ===compare two values in PHP?

0 Answers  


how many type of url?

1 Answers  


Which php mvc framework is best?

0 Answers  


How will you sened requests from server1 to server2 from server2 to server3 and so on .. w/o letting the output come to the browser or say the client end in php

3 Answers   Swayam, TCS, Yahoo,


What are the advantages of triggers in php?

0 Answers  


What are sql injections, how do you prevent them and what are the best practices?

0 Answers  


What is the difference between nowdoc and heredoc?

0 Answers  


Can php run without server?

0 Answers  


Categories