I'm still trying to figure out how you can expect ANY behavior when you have no idea how it works in the first place.
I'm serious, how do you make a prediction when your model is incomplete? This isn't weather, the model's behavior is actually DOCUMENTED.
sirpengi: jonez: sara golemon explains it best: http://blog.golemon.com/2007/01/youre-being-lied-to.html
sirpengi: you MUST read this
sirpengi: before you write another line of php
jonez: and who is "sara golemon"?
sirpengi: one of the core developers of php
kon: lets write her some hatemail
sirpengi: no, you should write her a thank you card with chocolates for bringing light to how references work
jonez: I really don't care that php is a hack under the covers.. I care that the code does what I expect.
jonez: I am not trying to "outsmart the engine" by using references.
sirpengi: no, you're not trying to do anything but use references when you don't need to
sirpengi: the only thing you net when you use references needlessly is hidden bugs
jonez: only because php is doing magical crap in certain cases.
jonez: there aren't any bugs in my code though :)
sirpengi: no, php ISN'T doing magical crap
jonez: the darn thing works :)
sirpengi: the article explains exactly how it works
jonez: yes, but I don't care how it works.
jonez: I care that my code does what I expect.
sirpengi: how can you expect to know what your code does when you don't understand references?