ID: 46652
Updated by: [EMAIL PROTECTED]
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