|
Posted by Michael Fesser on 10/19/07 01:41
..oO(Summercool)
>On Oct 18, 5:46 pm, Gary L. Burnore <gburn...@databasix.com> wrote:
>
>> > echo '$obj->arr[n*size][i-1]' . $obj->arr[n*size][i-1];
>>
>> >so you have to make sure both places are indeed the same expression --
>>
>> If that's too hard for you, perhaps you should consider a job in the
>> food or hospitality industry.
>
>so if PHP or people who are proficient in PHP cannot give a good
>solution to this simple thing
Simple? This:
$obj->arr[n*size][i-1]
is not a simple variable name - it's a complex expression! If you pass
that to the function, all the function receives is the result of that
expression, not its source code. If you want that - add it yourself as a
second parameter.
Micha
Navigation:
[Reply to this message]
|