|
Posted by Rik Wasmus on 10/19/07 01:05
On Fri, 19 Oct 2007 02:58:56 +0200, Summercool <Summercoolness@gmail.com>
wrote:
> 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, i wonder who should work in the food or
> hospitality industry.
What is the actual 'simple' thing you're trying to solve, as I cannot see
any practical use in production for your proposed feature. Even for
debugging I'd rather know the file/line (which is easily retrievable) then
the variable name, as it sais so much more. Any normal production code
wouldn't need it at all as it should check variables, and on a fail rather
throw errors or exceptions then your debug info.
--
Rik Wasmus
Navigation:
[Reply to this message]
|