Doc #60002 [Csd->Bgs]: Missing info

From: Date: Wed, 29 Jun 2011 02:20:59 +0000
Subject: Doc #60002 [Csd->Bgs]: Missing info
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6753@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60002&edit=1 ID: 60002 Updated by: felipe@php.net Reported by: kobrasrealm at gmail dot com -Summary: kobrasrealm@gmail.com +Summary: Missing info -Status: Closed +Status: Bogus Type: Documentation Problem Package: Website problem PHP Version: 5.3.4 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2011-06-28 22:17:34] kobrasrealm at gmail dot com Oh man, I had the arguments in reverse order. Not my brightest moment. ------------------------------------------------------------------------ [2011-06-28 22:10:09] kobrasrealm at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=60002&edit=1

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