<?php echo strpos("Hello world!","s"); ?>
Register and join over 40,000 other developers!
Salis is an artificial life simulation, based on Tom Ray's Tierra.
nino - Apr 12 2018 09:13 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.