<?php function __autoload($class_name) { var_dump('Trying to autload '. $class_name); } class Bar{ public $attr = 'attr'; } $attr = 'attr'; $c = 'BAR'; $foo = $c::$attr;
You have javascript disabled. You will not be able to edit any code.