<?php $vrot = new Pisa(); class Pisa { function __construct() { $this->_vrot = true; self::_toPisa(); var_dump($this->_vrot); } private static function _toPisa() { $this->_vrot = 'PISA VROT'; } }
You have javascript disabled. You will not be able to edit any code.