You are here: Re: print out variable name as well as its content « PHP Programming Language « IT news, forums, messages
Re: print out variable name as well as its content

Posted by kenneth02394832 on 10/21/07 05:26

On Oct 20, 9:38 am, Michael Fesser <neti...@gmx.de> wrote:
> .oO(Summercool)
>
> >On Oct 18, 6:41 pm, Michael Fesser <neti...@gmx.de> wrote:
> >> .oO(Summercool)
>
> >> >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.
>
> Name at least two of them, which allow to print the complex expression
> (not only a single variable) passed as an argument to a function.

C and Ruby can both do it.
C is by something that's call Stringification. Google it. For Ruby,
look for the Ruby Forum.

 

Navigation:

[Reply to this 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

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