Re: note 7717 added to Problems?

From: Date: Fri, 11 Aug 2000 21:24:48 +0000
Subject: Re: note 7717 added to Problems?
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-1435@lists.php.net to get a copy of this message
At 09:17 AM 8/12/00 +0000, you wrote:
I recently upgraded PHP v3 to PHP v4.0.1pl2. I run Apache 1.3.12 on SunOS 5.7. Files that used to work with PHP3 are now reporting: "Fatal error: Cannot use [] for reading in <path/file> on line 48" Line 48 looks like this: <pre>
                                                for($index = 0; $index < count($AncestoryList[$l_FindIndex][]); $index++){
</pre> I can't seem to find any information on this error. Please help if you have a solution/suggestion. Thanks in advance.
Remove the [] from $AncestoryList[$l_FindIndex][] [] is a special construct that allows a value to be magically added to the end of an array. In the context that you are using it in, it has no meaning. Also, please submit your support questions to the php mailing lists. The manual notes are for making additions to the manual, not for getting support. Zak Zak Greant Creative Director Nucleus Information Service Inc. [403] 209-0000

« previous php.notes (#1435) next »