<?php class test { public $test = array( 1 => 'test' ); public $arr = array( 1 => self::test[1] ); } $class = new test(); var_dump($class->arr[1]);
You have javascript disabled. You will not be able to edit any code.