Hi guys, I have just read 'Programming PHP' (O'Reilly) and although I think it's a great book, I am confused about variable variables and references - not the mechanics, just where you would use them. The subject of variable variables is explained but no examples are given as to why and where you would utilise them. As for references, the examples given with regard to passing and returning by reference in functions is clear, but no real examples are given as to when this would be a preferred approcah - in fact, the authors stress that due to PHP's copy-on-write mechanism, it is not a frequently-used approcah. So my question - are there any 'classic' situations in which either should be used, and where and when do you guys use them in your real-world efforts? -- http://www.web-buddha.co.uk