/Users/andrea/_magisterarbeit/korpus/clean/trainkorpus/32/file19.html NN ----------------------------------------- : pre NP . SENT php NN a DT array NN 1 CD , , 2 CD , , array NN a DT , , b NN , , c LS . SENT var NN dump VVP a DT . SENT . SENT pre NP add VVP a DT note NN User NP Contributed VVD Notes NNS var NN dump VVP andre NP at IN webkr NP dot VVP de NP 04 CD Oct NP 2005 CD 11 CD . SENT 45 CD var NN dump NN prefixes VVZ the DT variable JJ type NN with IN if IN the DT variable NN has VHZ more JJR than IN one CD reference NN . SENT This DT is VBZ only RB true JJ for IN variables NNS that WDT are VBP part NN of IN an DT array NN , , not RB for IN scalar JJ types NNS . SENT Example NN . SENT . SENT php NN a DT foo NP other JJ . SENT a DT bar NN i NP have VH ref NN . SENT b SYM a DT bar NN . SENT var NN dump VVP a DT . SENT var NN dump NN b SYM . SENT . SENT Result NN . SENT array NN 2 CD foo NP string NN 5 CD other JJ bar NN string NN 10 NP i NP have VHP ref NN string NN 10 NP i NP have VHP ref NN Dennis NP Pallett NP 10 CD Aug NN 2005 CD 12 CD . SENT 57 CD . SENT php NN function NN show NN data NNS , , func NN print NN r NN , , return NN str NN false JJ ob NN start NN . SENT func NN data NNS . SENT output NN pre NP . SENT htmlspecialchars NNS ob NN get VVP contents NNS . SENT pre NP . SENT ob NN end NN clean JJ . SENT if IN return NN str NN return NN output NN . SENT else RB echo VVP output NN . SENT . SENT From IN http NN . SENT keithdevens NNS . SENT com NN weblog NN archive NP 2004 CD Jul NN 15 CD PHP NP . SENT show VV Works NP perfectly RB for IN me PP . SENT Makes VVZ it PP extermely RB easy JJ to TO view NN variables NNS , , arrays NNS and CC objects NNS . SENT ospinto NN at IN hotmail NN dot VVP com NN 07 CD Aug NN 2005 CD 06 CD . SENT 43 CD Just RB created VVN this DT neat JJ class NN that WDT dumps VVZ a DT variable NN in IN a DT colored VVN tabular JJ structure NN similar JJ to TO the DT cfdump NN tag NN in IN Coldfusion NP . SENT Very RB easy JJ to TO use VV and CC makes VVZ it PP so RB much RB easier JJR to TO see VV the DT contents NNS of IN variable NN . SENT For IN examples NNS and CC download NN , , visit NN http NN . SENT dbug NP . SENT ospinto NN . SENT com NN As IN 30 CD Jun NN 2005 CD 10 CD . SENT 58 CD The NP dumped VVD variables NNS don't NN have VHP html NN entities NNS encoded VVD . SENT So RB if IN your PP$ variable NN contains VVZ in IN the DT data NNS , , your PP$ browser NN will MD see VV it PP as IN the DT start NN of IN an DT html NN tag NN . SENT Additionally RB the DT dump NN has VHZ lots NNS of IN in IN it PP , , which WDT are VBP also RB not RB escaped VVN , , although IN your PP$ browser NN does VVZ manage VV to TO figure VV out RP to TO display VV them PP as RB is VBZ . SENT But CC they PP are VBP errrors NNS though RB . SENT Wrapping VVG it PP in IN PRE NP doesn't NN help NN . SENT Using VVG the DT XMP NP tag NN will MD work VV , , but CC it's NNS a DT depreciated VVD tag NN . SENT I'm NN using VVG it PP anyway RB , , since IN it PP does VVZ what WP I PP need VVP , , and CC this DT function NN isn't NN usually RB used VVN for IN production NN code NN anyway RB . SENT . SENT php NN echo NN XMP NP . SENT var NN dump VVP get VV defined VVN vars NNS . SENT echo NN XMP NN . SENT . SENT XMP NP is VBZ your PP$ best JJS bet NN , , or CC use VV output NN control NN and CC the DT htmlspecialchars NNS function VVP . SENT edwardzyang NP at IN thewritingpot NN dot VVP com NN 20 CD Mar NP 2005 CD 11 CD . SENT 06 CD If IN you're NN like IN me PP and CC uses VVZ var NN dump VV whenever WRB you're JJ debugging VVG , , you PP might MD find VV these DT two CD wrapper NN functions NNS helpful JJ . SENT This DT one NN automatically RB adds VVZ the DT PRE NP tags NNS around IN the DT var NN dump NN output NN so IN you PP get VVP nice JJ formatted VVN arrays NNS . SENT . SENT php NN function NN var NN dump VV pre NP mixed JJ null NN echo NN pre NP . SENT var NN dump NN mixed VVN . SENT echo VV pre NP . SENT return NN null NN . SENT . SENT This DT one CD returns NNS the DT value NN of IN var NN dump VVP instead RB of IN outputting VVG it PP . SENT . SENT php NN function NN var NN dump VVP ret VV mixed JJ null JJ ob NN start NN . SENT var NN dump NN mixed VVN . SENT content JJ ob NN get VV contents NNS . SENT ob NN end NN clean JJ . SENT return NN content NN . SENT . SENT Fairly RB simple JJ functions NNS , , but CC they're NN infinitely RB helpful JJ I PP use VVP var NN dump VV pre NP almost RB exclusively RB now RB . SENT dwatson NN at IN planandgrow NN dot VVP com NN 10 CD Mar NP 2005 CD 01 CD . SENT 02 CD To TO make VV sure JJ to TO get VV the DT nice JJ indenting VVG of IN nested VVN arrays NNS , , you PP may MD have VH to TO put VV html JJ pre NP tags NNS around IN the DT var NN dump NN . SENT Where WRB a DT is VBZ an DT array NN echo NN pre NP . SENT var NN dump VVP a DT . SENT echo VV pre NP . SENT anon RB 28 CD Jan NP 2005 CD 03 CD . SENT 31 CD var NN dump VVP get VV defined VVN vars NNS . SENT will MD dump VV all DT defined VVN variables NNS to TO the DT browser NN . SENT