The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Log file location vB5
Hey Guys,
I wish to print some variables in function for debugging purpose. I tried var_dump() but I don't understand where it is printing. My debug mode is also On. |
#2
|
||||
|
||||
var_dump() will print to the screen. Usually, right at the top when you load the page. Using print_r() may give you better results as it is more readable.
|
#3
|
||||
|
||||
vbstop($varname);
should work. vbstop($varname,0,0); Will print the information and carry on running the code. I use both of these all the time. |
#4
|
|||
|
|||
Thank you!
It worked. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|