Re: PHP 4.0 Bug #4837: Fatal error: Cannot use [] for reading in sqlfunctions.php3 on line 36
| From: | Hartmut Holzgraefe | Date: | Tue, 06 Jun 2000 12:25:36 +0000 |
| Subject: | Re: PHP 4.0 Bug #4837: Fatal error: Cannot use [] for reading in sqlfunctions.php3 on line 36 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-20315@lists.php.net to get a copy of this message | ||
leif.gripner@eds.com wrote:
> for($aMenu[], $inc=0; $inc < ora_numcols($dbcursor) - 1; $inc++, $aMenu[] =
> ora_getcolumn($dbcursor, $inc));
just curious: what is '$aMenu[]' at the beginning of the statement
supposed to do in the PHP3 version of your code?
i suppose it's a no-op in PHP3 and you wanted to do '$aMenu=array()'
to make it an empty array instead?
--
Hartmut Holzgraefe hartmut@six.de http://www.six.de