473,387 Members | 1,463 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

best var dump I've ever seen!

http://dbug.ospinto.com/

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

I spent 2 years on a 'var debug' to help 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 helps you, somehow!

Walter

Nov 5 '07 #1
6 2551
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
Nov 5 '07 #2
On Mon, 05 Nov 2007 05:31:01 +0100, ot*******@gmail.com
<ot*******@gmail.comwrote:
http://dbug.ospinto.com/

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

I spent 2 years on a 'var debug' to help 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 helps you, somehow!

Hmm, I'll check it out soon. In the mean while: xdebug also changes the
var_dump function quite pleasantly.
--
Rik Wasmus
Nov 5 '07 #3
ot*******@gmail.com wrote:
http://dbug.ospinto.com/

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

I spent 2 years on a 'var debug' to help 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 helps 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
Nov 5 '07 #4
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

Nov 5 '07 #5
On Nov 5, 12:05 pm, "Rik Wasmus" <luiheidsgoe...@hotmail.comwrote:
>
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

Nov 5 '07 #6
ot*******@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.
Nov 7 '07 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

131
by: Peter Foti | last post by:
Simple question... which is better to use for defining font sizes and why? px and em seem to be the leading candidates. I know what the general answer is going to be, but I'm hoping to ultimately...
5
by: Mario | last post by:
I would like to author stylized web content using custom cascading style sheets. I want to be able to type the document with the mindset of a writer and momentarily forget that I am authoring web...
16
by: D Witherspoon | last post by:
I am developing a Windows Forms application in VB.NET that will use .NET remoting to access the data tier classes. A very simple way I have come up with is by creating typed (.xsd) datasets. For...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
2
by: Greg | last post by:
Hi All- I have searched around a bit and haven't found anything that addresses my exact question... I have a db that is moderately busy (a couple million records added over a day, 60-300 db...
13
by: deko | last post by:
I use this convention frequently: Exit_Here: Exit Sub HandleErr: Select Case Err.Number Case 3163 Resume Next Case 3376 Resume Next
19
by: Steve Jorgensen | last post by:
I've run across this issue several times of late, and I've never come up with a satisfactory answer to the best way to handle this schema issue. You have a large section of schema in which a...
7
by: BJ | last post by:
I have a column, of data type image, in a SQL table that I'm trying to dump to a windows form control. Does anyone have an example of this code and what control I would use on the form? -BJ
3
by: John Liu | last post by:
AIX pg version 7.4 Select * from document2 core dump. Did a few more experiments with select * from document2 limit... I limit to 500000 it works, 600000 it exits but says "calloc:...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.