#46652 [Opn->Bgs]: stripos
| From: | felipe@php.net | Date: | Sun, 23 Nov 2008 11:58:26 +0000 |
| Subject: | #46652 [Opn->Bgs]: stripos | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131224@lists.php.net to get a copy of this message | ||
ID: 46652
Updated by: felipe@php.net
Reported By: neworld88 at homtmail dot com
-Status: Open
+Status: Bogus
-Bug Type: Unknown/Other Function
+Bug Type: Strings related
-Operating System: Microsoft Windows XP [°æ±¾ 5.1.2
+Operating System: Microsoft Windows XP
PHP Version: 5.2.6
New Comment:
> $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
Previous Comments:
------------------------------------------------------------------------
[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