ID: 10395 Updated by: hholzgra Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Closed Old-Bug Type: Bug Type: *General Issues PHP Version: 4.0.4pl1 Assigned To: Comments: i get Fatal error: Cannot use [] for reading ... you should check your error_reporting settings Previous Comments: --------------------------------------------------------------------------- [2001-04-19 06:21:12] [EMAIL PROTECTED] 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: *********8<************ Test. <?php echo "this is a test: " . $pr[]; ?> *********8<************ 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' '--enable-trans-sid' '--with-apxs=/usr/local/apache/bin/apxs' '--with-config-file-path=/etc' '--with-mcrypt' '--enable-shmop' My php.ini is a bit long to paste here, mail me if needed. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10395&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]