Re: [PHP] var references question

2004-09-19 Thread Curt Zirzow
* Thus wrote Brandon Goodin: > Greetings, > > > In the following example when I run the myscript.php I pass the $myarr into > the addVal function of the MyClass class. The var_dump in the addVal > function appropriately displays all of the elements of the array a,b,c and > d. However, the var_du

[PHP] var references question

2004-09-19 Thread Brandon Goodin
Greetings, This is a little difficult to explain. So, below is an example I will work from. Forgive my ignorance here. I am a java developer using php4 and trying to figure out a particular scenario. In the following example when I run the myscript.php I pass the $myarr into the addVal func