vBulletin Mods

The Official vBulletin Modifications Site

Log file location vB5
by iref2010
06 Aug 2016 12:42

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.

Replicant 06 Aug 2016 14:06

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.

Paul M 07 Aug 2016 14:11


should work.


Will print the information and carry on running the code.

I use both of these all the time.

iref2010 08 Aug 2016 11:12

Thank you!

It worked.

All times are GMT. The time now is 12:25.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.