ID: 46652 User updated by: neworld88 at homtmail dot com Reported By: neworld88 at homtmail dot com Status: Bogus Bug Type: Strings related Operating System: Microsoft Windows XP PHP Version: 5.2.6 New Comment:
The actual code, rather than above, the above code to create temporary, it now appears a sense, really ashamed, I am sorry. Previous Comments: ------------------------------------------------------------------------ [2008-11-23 17:08:16] neworld88 at homtmail dot com Has been shut down your computer, open once again, the issue has been resolved, I came to notice. This is the first day of learning PHP, sorry. Began to think that it is case-sensitive error. Inadvertently see http://docs.php.net/stripos ($ pos1 === false) Before I used the ($ pos1 == false), is really funny, ha ha Thank you for your immediate response! Thank you very much Computer English translation, grammar may be wrong. ------------------------------------------------------------------------ [2008-11-23 11:58:26] [EMAIL PROTECTED] > $T = stripos("'LoadTime',time())","'")."<br>"; > if($T = false) Error! Please, read the "warning" part in the "Return Values" section at http://docs.php.net/stripos ------------------------------------------------------------------------ [2008-11-23 11:58:24] neworld88 at homtmail dot com Sorry,FALSE. ------------------------------------------------------------------------ [2008-11-23 11:51:14] neworld88 at homtmail dot com Windows XP 5.1.2600 Service Pack 3 ------------------------------------------------------------------------ [2008-11-23 11:49:32] neworld88 at homtmail dot com Description: ------------ Reproduce code $T = 1 ? 0 = false ? Reproduce code: --------------- <?php $T = stripos("'LoadTime',time())","'")."<br>"; if($T = false) { echo 'EOOR.' ; } ?> Expected result: ---------------- Noting Actual result: -------------- Noting ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46652&edit=1