#43420 [Opn->Fbk]: strpos() simply don't work in any circumstance

From: Date: Tue, 27 Nov 2007 08:18:51 +0000
Subject: #43420 [Opn->Fbk]: strpos() simply don't work in any circumstance
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-120114@lists.php.net to get a copy of this message
ID: 43420 Updated by: derick@php.net 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 doesn’t contain that version...that’s 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

« previous php.bugs (#120114) next »