Re: Dumping an array to a web page



Peter Fox <peterfox@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:

Following on from Rik's message. . .
Well, in my code it sometimes matters wether I have an integer '1' or a
string '1', hence the var_dump.If you don't need it the layout of print_r
is indeed somewhat 'nicer'.

Please could you post a list of projects you've worked on so I can avoid having anything to do with them.

Hey!

It's by choice and design, not by PHP :P
Sometimes I hate variable vars....
--
Rik Wasmus
.



Relevant Pages

  • Re: Blig Merk said it was great the PS3 had no achievement system
    ... How dare he do that! ... today and I think the layout is better than what XBL has to offer. ... to access and nicer to look at. ...
    (alt.games.video.xbox)
  • Intepolation within string in a variable?
    ... I'm trying to write a function which will go and get data out of a database ... layout: I want to be able to pass a string to the function to define the ... This is wibble ...
    (comp.lang.php)
  • Re: use of "return"
    ... at the end of a method, 'return' is indeed not needed, and simply that value will suffice, though i think a return looks nicer;-) ... def method ... in the light of Duck Typing usually no ...
    (comp.lang.ruby)
  • Re: computer username display
    ... but when i modify something..all the layout will be changed ... Aaron Corcoran wrote: ... >This code will reveal a string in the format of DOMAIN\username. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ANN: gui_support, a convenience library for wxPython
    ... Your page says that the layout is defined in a docstring, but in the sample code, it's actually just in a regular string literal. ... example, or even make a dynamic editor where we edit the layout string in one window, and view the result in real time in another window. ... no standard, we just made it because in creating about 50 windows the last couple of months, we were tired of thinking about sizers and containers and containment referencing each other. ...
    (comp.lang.python)