Re: How do i check if a variable is a reference or a copy?
| From: | Mathijs | Date: | Fri, 29 Sep 2006 06:20:55 +0000 |
| Subject: | Re: How do i check if a variable is a reference or a copy? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242384@lists.php.net to get a copy of this message | ||
Martin Alterisio wrote:
2006/9/28, Mathijs <m.v.veluw@smscity.nl>: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.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.