PHPKonf Istanbul PHP Conference 2019 - Call for Papers


Please answer this simple SPAM challenge: min(three, six)?
(Example: nine)

The Note You're Voting On

10 years ago
To henrik at newdawn dot dk, 28-Oct-2007

No, it's not strange.
$this->$var['key'] tries to look up 'key' in the array $var and then use that for the property name. $this->{$var}['key'], on the other hand...

<< Back to user notes page

To Top