Re: How do i check if a variable is a reference or a copy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Alterisio wrote:
2006/9/28, Mathijs <m.v.veluw@xxxxxxxxxx>:

Hello there,

Is there a way to check if a variable is passed by reference or if it is
just a copy. With something like is_copy or is_reference?

Thx in advance.


Is this part of the "I don't know if two vars reference the same object in
PHP4" dilemma?

Well it isn't realy my problem, but a colluage of mine.
Also it is PHP5.

But as i understand, there isn't a way to check what kind of variable it is.
Think he just needs to use a debugger then.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux