Dump Method

Dump Method is a variable dumping system like dBug, but instead dump PHP variables, it dump variables from JavaScript. Because dBug and Dump Method are both from one origin, ColdFusion , it looks similar.
Here is how it looks like

object
name [string] value
key [string] value
num [number] 3254325
obj [object]
object
bool [boolean] true
num [number] 1
func [function]
function
Arguments: none
Function: function(){alert('do stuff')}
nestedobj [object]
object
bool1 [boolean] false
aaa [number] 2
num [string] $huns
obj [object]
object
arr [array]
array
0 [string] a
1 [string] b
2 [string] c
3 [string] d
num [number] 3
word [string] shaun
empty array [array]
array [empty]
arr [array]
array
0 [number] 1123
1 [number] 232
2 [object]
object
auth [string] shaun b
empty object [object]
object [empty]
hash [array]
array
section1 [array]
array
0 [string] test1
1 [string] test2
section2 [array]
array
0 [string] test3
1 [string] test4
greetFunc [function]
function
Arguments: fn,sn
Function: function greet(fn,sn) {alert('Hi ' + fn + ' ' + sn);}

Editor Comment:

So now the most used Client and Server script both got the best out of ColdFusion, great...


Post new comment

The content of this field is kept private and will not be shown publicly.
If you have a Gravatar account, used to display your avatar.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <span> <fn>
  • Lines and paragraphs break automatically.
  • Textual smileys will be replaced with graphical ones.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".
  • Use [fn]...[/fn] (or <fn>...</fn>) to insert automatically numbered footnotes.

More information about formatting options

What is 53 + 0?
To combat spam, please solve the math question above.
Honey Pot that kill bots