<?php class foo { function returnArray(){ return [0,1]; } function returnThis(){ return $this; } } $obj = new foo(); var_dump(isset($obj->returnThis()->returnArray()[1]));
You have javascript disabled. You will not be able to edit any code.