<?php class My_Class { const CLASS_CONSTANT = 'test value'; private function my_function() { $lambda_function = function() { echo $this::CLASS_CONSTANT; }; $lambda_function(); } public function start() { $this->my_function(); } } $obj = new My_Class; $obj->start();
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`