<?php class Entity { public $greet = ['title' => 'hello']; } $settings = 'greet'; $entity = new Entity(); echo $entity->$settings['title'];
You have javascript disabled. You will not be able to edit any code.