What is difference between strstr() and stristr() in PHP?
Answer / Bijendra Singh
In PHP, both strstr() and stristr() are functions used to search a substring within a given string. However, they differ in the way they handle case sensitivity. The strstr() function is case sensitive, while stristr() is case insensitive.
| Is This Answer Correct ? | 0 Yes | 0 No |
Do you know what is the function mysql_pconnect() usefull for?
In how many ways we can retrieve the date in the result set of mysql using PHP?
Does php need apache?
What is an anti csrf token?
How failures in execution are handled with include() and require() functions?
what is variable scope, which variables are accessible from where and what are "undefined variable" errors?
Create a PHP web script with the following attributes: on start, three HTML form elements are shown: an string input field, a checkbox field, a dropdown/pull down list with 5 elements and a submit button. On submission, the form should be redisplayed (while remaining all options/inputs as the user has selected/entered them). Additionally, the selections/inputs of the user should be displayed in text. Please solve this without the use of any external libraries.
How to run the interactive php shell from the command line interface?
How to find datatype of variable in php?
What is composer phar?
Do you have to initialize variables in php?
What is trim codeigniter?