#38326 [NEW]: Basicaly, a single string during a for loop is causing the page NEVER to comple
| From: | chrisstocktonaz at gmail dot com | Date: | Fri, 04 Aug 2006 06:01:44 +0000 |
| Subject: | #38326 [NEW]: Basicaly, a single string during a for loop is causing the page NEVER to comple | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-100316@lists.php.net to get a copy of this message | ||
From: chrisstocktonaz at gmail dot com
Operating system: Red hat
PHP version: 5.1.4
PHP Bug Type: *General Issues
Bug description: Basicaly, a single string during a for loop is causing the page NEVER to comple
Description:
------------
The page never fully loads, it just hangs and hangs infinity. With just a
minor change to a string however, it will load instant. Both versions of
the string are valid syntax.
Reproduce code:
---------------
http://forums.neverside.com/thread/93372/
Discussion on the issue above, below is a short example of the string
differences..
//Hangs page
echo "$key $search " . $value['category_name'] . "<br>\n";
// Works
echo $value['category_name'];
echo "$key $search "<br>\n";
// Works
$var = $value['category_name'];
echo "$key $search $var "<br>\n";
Expected result:
----------------
The page to load quickly.
Actual result:
--------------
Page hangs forever.
--
Edit bug report at http://bugs.php.net/?id=38326&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38326&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38326&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38326&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38326&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38326&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38326&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38326&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38326&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38326&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38326&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38326&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38326&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38326&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38326&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38326&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38326&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38326&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38326&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38326&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38326&r=mysqlcfg