I created a class. The code is below
class Another { public $error = array(); public function set_error( $key, $value ) { if ( isset( $k