From:             [EMAIL PROTECTED]
Operating system: Mac OS X
PHP version:      4.2.0
PHP Bug Type:     Unknown/Other Function
Bug description:  strange infinite loop problem where no infinite loop exists 

The problem is that the below script entered an infinite 
loop, only stopping when the when the time_limit kicks in.

It's problem is caused by this script

<?
  for ( $i=1; $i<=11; $i++ ) {
    $a = "Position".$i;
  }
?>

It doesn't happen on 4.1.1 CLI version, and unfortunately, 
I don't have access to any other versions at the moment.

This is my configure line :

'./configure' '--with-mysql' '--with-gd=/usr/local' '--
with-png-dir=/sw' '--with-jpeg-dir=/sw' '--with-apxs' '--
with-zlib-dir=/sw' '--with-freetype-dir=/sw' '--with-curl=/
sw' '--with-t1lib=/usr/local' '--enable-ftp' '--enable-
mbstring' '--enable-mbstr-enc-trans' '--with-xml'

-- 
Edit bug report at http://bugs.php.net/?id=16682&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16682&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16682&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16682&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16682&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16682&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16682&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16682&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16682&r=submittedtwice

Reply via email to