<?php class Pepe { const LITO = 'hola'; static function dame($a) { echo constnat("static::".strtoupper($a)); } } Pepe::dame('lito');
You have javascript disabled. You will not be able to edit any code.