The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
print_r, echo and similar statements are disabled
-- which is great for a production environment BUT IT SUCKS BIGTIME WHILE DEBUGGING A NEW SCRIPT OR MOD!! I need to build a function that, when called - stops the script immediately and prints out any variable or arrays you ask it to print. Any ideas? |
#2
|
|||
|
|||
![]()
Ever tried with a
PHP Code:
|
#3
|
||||
|
||||
![]()
echo works fine here - I use it for debugging all the while ???
|
#4
|
||||
|
||||
![]()
erm, they work for me ?
|
#5
|
||||
|
||||
![]()
Well, I've tried them and I rarely get a response.
|
#6
|
||||
|
||||
![]()
Just use exit; and it'll work fine.
PHP Code:
|
#7
|
|||
|
|||
![]()
I've used echo for almost everything I do and it seems to work fine...
You're using them in the php and not like a template... right? |
#8
|
||||
|
||||
![]()
I still can debug without echo, I print them in template it's still helpful
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|