<?php echo strpos("Hello world!","s"); ?>
Register and join over 40,000 other developers!
How to make code run differently depending on the platform it is running on?
xarzu - Apr 05 2019 09:17 AM
How do I set a breakpoint in an attached process in visual studio
xarzu - Apr 04 2019 11:47 AM
Recent Blog Entries
Recent Status Updates
- Managed C++
- Visual Basic 4 / 5 / 6
- linked list
- hello world
strpos failing to output FALSE!strpos
No replies to this topic
Posted 26 April 2017 - 03:08 PM
It is said on the following link:
**Using the strpos() function**
**The strpos() function is used to search for a string or character within a string.**
**If a match is found in the string, this function will return the position of the first match. If no match is found, it will return FALSE.**
Isn't the following supposed to output to screen "FALSE" ? I do not see this happening.