#35923 [NEW]: if (strpos("123","1")===true) doesn't work. if (strpos("123","1")!==false) does
| From: | johnjc-phpnet at publicinfo dot net | Date: | Fri, 06 Jan 2006 21:57:01 +0000 |
| Subject: | #35923 [NEW]: if (strpos("123","1")===true) doesn't work. if (strpos("123","1")!==false) does | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969371454@lists.php.net to get a copy of this message | ||
From: johnjc-phpnet at publicinfo dot net
Operating system: irrelevant
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: if (strpos("123","1")===true) doesn't work. if
(strpos("123","1")!==false) does
Description:
------------
The mail reference page (which I got by typing "mail" into the search box
where I usually look up functions)
http://uk2.php.net/manual/en/ref.mail.php
contains as its first paragraph a block of text which is displayed in such
a way as to require long horizontal scrolling to read it.
It would be good if you could fix that.
Thanks.
--
Edit bug report at http://bugs.php.net/?id=35923&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35923&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35923&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35923&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35923&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35923&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35923&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35923&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35923&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35923&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35923&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35923&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35923&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35923&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35923&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35923&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35923&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35923&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35923&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35923&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35923&r=mysqlcfg