Reply to Re: print out variable name as well as its content

Your name:

Reply:


Posted by Summercool on 10/19/07 02:43

On Oct 18, 7:33 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> Summercool wrote:
> > On Oct 18, 7:25 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> >> Summercool wrote:
> >>> On Oct 18, 6:41 pm, Michael Fesser <neti...@gmx.de> wrote:
> >>>> .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]
> >>> a few other languages I know can make this possible. in the PHP group
> >>> I usually hear "don't compare PHP to other languages". or "no, you
> >>> don't really need that." oh well, if this is the way it is, so be it.
> >> You don't get it, do you? Other languages generally do NOT make this
> >> possible. The debuggers they have may, though.
>
> >> And there are PHP debuggers, also.
>
> > that's not true. The other languages don't need a debugger to make
> > this possible.
>
> For instance - in C, there is no way to display a variable. It is
> strictly the debugging tools which make it work.
>
> Or, I challenge you to show me ANYWHERE in the ANSI C spec that this
> should be possible. It doesn't exist.
>
> It is strictly a result of the debugging tools in the compiler.
>
> And I did not say you had to have a debugger. I said debugging tools.
> There is a difference!


you can use #define in C to do that. it is in the pre-compiler.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация