#20679 [NEW]: exit without dump or output after wrong array use
| From: | martin@php.net | Date: | Wed, 27 Nov 2002 17:01:37 +0000 |
| Subject: | #20679 [NEW]: exit without dump or output after wrong array use | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25975@lists.php.net to get a copy of this message | ||
From: martin@php.net
Operating system: several
PHP version: 4.2.3
PHP Bug Type: Arrays related
Bug description: exit without dump or output after wrong array use
Inadvertently, I used code like this:
$i = count($this->aliases[]);
within a cfunction. Note the incorrect use of extra [] which
should have read count($this->aliases).
The effect is that the php request bails out with a zero
byte response, without producing any error message or dump.
--
Edit bug report at http://bugs.php.net/?id=20679&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20679&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20679&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20679&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20679&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20679&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20679&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20679&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20679&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20679&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20679&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20679&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20679&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20679&r=isapi