Ciao,

File error.php

class Error{


protected $str_remoteAddress;

public function __construct(){

$str_remoteAddress = $_SERVER['REMOTE_ADDR'];

}



File php_error.php

class Php_error extends Error{


// Method declaration
public function __construct($errno, $errstr, $errfile, $errline, $errcontext){

parent::__construct();

echo $this->$str_remoteAddress;
}
come mai la variabile in questione non viene stampata a video?

Saluti,

carlostefano