ID: 43420 Updated by: [EMAIL PROTECTED] Reported By: david_silva7 at hotmail dot com -Status: Open +Status: Feedback Bug Type: Strings related Operating System: Windows PHP Version: 5.2.5 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2007-11-26 23:40:37] david_silva7 at hotmail dot com Description: ------------ strpos() ALWAYS return "" (false) in every circumstance, I tried the example codes of php.net I tried using strings as needle and char's, I tried using 'some text here ' and "some text here" and $string also. And always's a return of "". No madder what's the needle or the haystack the return is always the same. I'm using xampp for windows with php 5.2.4 installed (The PHP version menu doesnt contain that version...thats why I selected 5.2.5) Reproduce code: --------------- Any code using strpos() Expected result: ---------------- Dynamic and normal return values ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43420&edit=1
