I've just come across this piece of code:
// Assign initialized properties to the current object
foreach ($init as $property => $value)
{
$this->{$property} = $value;
}
I don't undrestand why they use curly braces here. Whouldn't it be the same if it was written without them $this->$property = $value;
?