<?php class foo { function __get($property) { return $property; } } $object = new foo; $attribute = NULL; var_dump($object->$attribute);
You have javascript disabled. You will not be able to edit any code.