>From the LT codes, I found a lot of return by reference, e.g. function &getDb(), but from the PHP site, it said: Do not use return-by-reference to increase performance, the engine is smart enough to optimize this on its own. Only return references when you have a valid technical reason to do it! So why you use return by reference? thanks.