Archive - Dec 21, 2006

Date
  • All
  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec

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...

Honey Pot that kill bots