extracting the local scope?

From: Date: Mon, 31 Jul 2000 10:26:30 +0000
Subject: extracting the local scope?
Groups: php.dev 
Request: Send a blank email to php-dev+get-27016@lists.php.net to get a copy of this message
Is it anyhow possible to pull out the local scope out of PHP? I`m sometimes using var_dump($GLOBALS) and I think var_dump($LOCALS) could be useful too. Eg. if you´ve function calls and you want to know all parameters passed. function foo($x1,$x2,$z4,$xyz) { var_dump($LOCALS); // will always be easier than var_dump($x1); var_dump($x2); var_dump($z4); var_dump($xyz); } would be extremely time-safing! regards -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·

« previous php.dev (#27016) next »