public static function ___error_handler() { $funcArgs = func_get_args(); $arg1 = $funcArgs[1]; self::$_open_ex = new RuntimeException(sprintf('Unable to open %s using mode %s: %s', self::$_open_filename, self::$_open_mode, $arg1)); }