ID:               20679
 User updated by:  [EMAIL PROTECTED]
-Summary:          exit without dump or output after wrong array use
-Reported By:      [EMAIL PROTECTED]
+Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Closed
-Bug Type:         Arrays related
+Bug Type:         Unknown/Other Function
 Operating System: several
-PHP Version:      4.2.3
+PHP Version:      4.3.0
 New Comment:

Blush - Sorry, bad testing on my side. Actually, it behaves
like described only in *EBCDIC* versions of both php-4.0.5
and php-4.3.0-dev (and not in ASCII versions, I just checked).
And because I think I'm the only person currently porting
php4 to an EBCDIC machine, it's my own b100dy job to fix it.
;-)


Previous Comments:
------------------------------------------------------------------------

[2002-11-27 11:58:30] [EMAIL PROTECTED]

It works 'fine' here:

[derick@kossu derick]$ php
<?php
$i = count($this->aliases[]);

Fatal error: Cannot use [] for reading in - on line 2
-(2) : Fatal error - Cannot use [] for reading

Can you provide us a piece of code which we can copy& paste?

Derick

------------------------------------------------------------------------

[2002-11-27 11:01:37] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=20679&edit=1

Reply via email to