Doc #60002 [NEW]: Missing info

From: Date: Wed, 29 Jun 2011 02:10:10 +0000
Subject: Doc #60002 [NEW]: Missing info
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6751@lists.php.net to get a copy of this message
From: Operating system: PHP version: Irrelevant Package: Website problem Bug Type: Documentation Problem Bug description:Missing info Description: ------------ For whatever reason, this returns bool(false). It shouldn't. Test script: --------------- <?php $x = strpos("#VOTEBOX#", "<div class=\"content\"> <h1>#TITLE#</h1> <div class=\"contentinfo\"> <table class=\"nosize\" style=\"margin-right: 0px; width: 100%;\"> <tr><td> #AUTH_AVATAR# Posted by #AUTH_PROFLINK# on: #DATE#<br> Posted in: <span class=\"contentcat\">#CATEGORY#</span><br> Tags: #TAGS# </td><td style=\"text-align: right; margin-right: 0px; width: 500px;\" align=\"right\"> #VOTEBOX# </td></tr> </table> </div> </div>"); var_dump($x); ?> Expected result: ---------------- int(376) Actual result: -------------- bool(false) -- Edit bug report at https://bugs.php.net/bug.php?id=60002&edit=1 -- Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=60002&r=trysnapshot52 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60002&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60002&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60002&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60002&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60002&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60002&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60002&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60002&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60002&r=support Expected behavior: https://bugs.php.net/fix.php?id=60002&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60002&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60002&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60002&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60002&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=60002&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60002&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60002&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60002&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60002&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60002&r=mysqlcfg

« previous php.doc.bugs (#6751) next »