From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.4pl1
PHP Bug Type:     
Bug description:  $array[] with no subscript will not return any data

If you try to use an array without a subscript, no data will
be send back to the browser. Netscape will say 'document
contained no data'; Galeon will display an empty page. The
following script illustrates:



echo "this is a test: " . $pr[];


This should imo return at least the first line, then 'this
is a test', and then a warning that $pr[] is invalid.

Configure line (although I think it's not relevant):
'./configure' '--enable-track-vars' '--with-mysql'
'--with-config-file-path=/etc' '--with-mcrypt' '--enable-shmop'

My php.ini is a bit long to paste here, mail me if needed.

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to