PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.php > best var dump I've ever seen!
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
best var dump I've ever seen!

Réponse
 
LinkBack Outils de la discussion
Vieux 05/11/2007, 04h31   #1
otrWalter@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut best var dump I've ever seen!

http://dbug.ospinto.com/

Take a look at this and see if this doesn't you when you just
can't see waht's the matter with your data!

I spent 2 years on a 'var debug' to me see what a variable
contains and what PHP thought the type was. I pitched mine when I
found this one!

And... as usual... I had to make a *small* changes to it. They
should incorporated into the next version sometime soon.

Hope this s you, somehow!

Walter

  Réponse avec citation
Vieux 05/11/2007, 09h36   #2
Chris Gorospe
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: best var dump I've ever seen!

Looks good to me! I'll give it a try and see how goes it. I too have
lost count of how many times I've debugged for hours to find a simple
variable screwing up the world for me :P
  Réponse avec citation
Vieux 05/11/2007, 12h05   #3
Rik Wasmus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: best var dump I've ever seen!

On Mon, 05 Nov 2007 05:31:01 +0100, otrWalter@gmail.com
<otrWalter@gmail.com> wrote:

> http://dbug.ospinto.com/
>
> Take a look at this and see if this doesn't you when you just
> can't see waht's the matter with your data!
>
> I spent 2 years on a 'var debug' to me see what a variable
> contains and what PHP thought the type was. I pitched mine when I
> found this one!
>
> And... as usual... I had to make a *small* changes to it. They
> should incorporated into the next version sometime soon.
>
> Hope this s you, somehow!



Hmm, I'll check it out soon. In the mean while: xdebug also changes the
var_dump function quite pleasantly.
--
Rik Wasmus
  Réponse avec citation
Vieux 05/11/2007, 13h12   #4
bill
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: best var dump I've ever seen!

otrWalter@gmail.com wrote:
> http://dbug.ospinto.com/
>
> Take a look at this and see if this doesn't you when you just
> can't see waht's the matter with your data!
>
> I spent 2 years on a 'var debug' to me see what a variable
> contains and what PHP thought the type was. I pitched mine when I
> found this one!
>
> And... as usual... I had to make a *small* changes to it. They
> should incorporated into the next version sometime soon.
>
> Hope this s you, somehow!
>
> Walter
>


Did you perchance make a *small* change so that it displays the
var name for non-structured variables ?

AFAIK, now if you display a non-structured variable, it only
displays the value, not the name.

bill
  Réponse avec citation
Vieux 05/11/2007, 16h49   #5
otrWalter@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: best var dump I've ever seen!

> AFAIK, now if you display a non-structured variable, it only
> displays the value, not the name.


Correct.

I've updated that part of the class. "non-structured variables" now
display in the same format as "structured", right down to the name of
the variable, and even its TYPE!

Give him a few days to update his site to incorporate what I've sent
him.

Walter

  Réponse avec citation
Vieux 05/11/2007, 19h26   #6
otrWalter@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: best var dump I've ever seen!

On Nov 5, 12:05 pm, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
>
> Hmm, I'll check it out soon. In the mean while: xdebug also changes the
> var_dump function quite pleasantly.


Yes it does. I took a look at what Xdebug does and decided to "steal"
an idea from what they did. I added the LENGTH a string variable to
the display. Numbers, booleans and NULL didn't need to show their
length.

Walter

  Réponse avec citation
Vieux 07/11/2007, 13h17   #7
bill
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: best var dump I've ever seen!

otrWalter@gmail.com wrote:
>> AFAIK, now if you display a non-structured variable, it only
>> displays the value, not the name.

>
> Correct.
>
> I've updated that part of the class. "non-structured variables" now
> display in the same format as "structured", right down to the name of
> the variable, and even its TYPE!
>
> Give him a few days to update his site to incorporate what I've sent
> him.
>
> Walter
>

Thanks Walter.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 03h00.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12716 seconds with 15 queries