Ibuildings Blog: Accessing object properties by reference
by Cal Evans (editor)
|
0 comments | Monday, May 5, 2008
Over on Ibuildings’s blog they’ve posted another good tutorial. This one is on Accessing object properties by reference by Harrie Verveer.
PHP is a loosely typed language. Most of the time this is very useful because you as a programmer don’t have to worry about typecasting: it’s done for you. However, on some occasions this can cause some unexpected trouble. These issues can be hard to track down because the error usually doesn’t show up at the place where you define your variable, but at the place where you want to use them (which can be in a totally different part of your application).
It’s a short read but interesting none the less.

Comments