Hi,
Syntax B doesnt seem to work exactly because as you say it doesn't directly
access the 'bars' variable...;
here...
$reference_to_bar = $this-GetBar($id) ;
it seems that a copy of the bar object is being created, which is a new
object. This new bar object is not related to the bar
I believe the following discussion from Web Application Development with PHP
4.0 (available online at http://safari.oreilly.com) may shed some light on
your question...
Whenever PHP encounters a statement for which write access to a variable is
needed, it evaluates and calculates the data
2 matches
Mail list logo