<?php class Test { protected $var = array('test' => 'hello world!', 'another_test' => 'hello world?'); public function __construct($var) { $var = $this->var; var_dump($var); } }
You have javascript disabled. You will not be able to edit any code.