RE: [PHP] function for showing all currently set variables

From: Date: Thu, 30 Nov 2000 19:47:28 +0000
Subject: RE: [PHP] function for showing all currently set variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28110@lists.php.net to get a copy of this message
studying the News file from one of the latest PHP snapshots I discovered something cool: - Added the get_defined_functions() function which returns a list of all currently defined functions. (Sterling) - Added the get_defined_vars() function which returns an associative array of all variables defined in the current scope and their subsequent values. (Sterling) Didn't try if they work however yet... Maciek > -----Original Message----- > From: Michael Buerkle [mailto:michael.buerkle@ejay.com] > Sent: Thursday, November 30, 2000 1:52 PM > To: php-general@lists.php.net > Subject: [PHP] function for showing all currently set variables > > > hallo, > > is there any method or function that prints out all currently set > variables? so that you don't always have to print($var) if you want to > see if its set or not????

« previous php.general (#28110) next »