Example #1
0
 public function __construct($errno, $errstr, $errfile, $errline)
 {
     $this->file = $errfile;
     $this->line = $errline;
     parent::__construct($errno, $errstr);
 }
Example #2
0
 public function __construct($message, $type, $filename, $line_number)
 {
     parent::__construct($message, $type);
     $this->file = $filename;
     $this->line = $line_number;
 }