Re: Get name of passed variable in a function
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Get name of passed variable in a function

From: R. Rajesh Jeba Anbiah <ng4rrjanbiah@rediffmail.com>
Date: Thu Oct 06 2005 - 20:22:30 CEST

Adam wrote:
> On 3 Oct 2005 22:32:04 -0700, Chung Leong wrote:
>
> >See the following thread:
> >http://groups.google.com/group/comp.lang.php/browse_frm/thread/5055003f44ae6ee4/35697d72cf31b316
>
> Chung - thank you for that! I had to do the array_shift tweak as I
> tend to use include files.
   <snip>

   I wonder the use of this. Probably you're profiling? If so, better
not reinventing the wheels, there are bunch of PHP core accessing
packages like <http://pecl.php.net/packages.php?catpid=25&catname=PHP>

--
  <?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com    Blog: http://rajeshanbiah.blogspot.com/
Received on Tue Oct 18 02:32:52 2005