public static function createMessage(string $message): string
    {
        $lastErrorMessage = error_get_last();
        if ($lastErrorMessage !== null) {
            $message .= "; ".$lastErrorMessage["message"];
        }
        return $message;
    }
public static function createMessage(string $message): string
    {
        $lastErrorMessage = error_get_last();
        if ($lastErrorMessage !== null) {
            $message .= "; ".$lastErrorMessage["message"];
        }
        return $message;
    }
public static function createMessage ( string $ message ) : string { $ lastErrorMessage = error_get_last ( ) ; if ( $ lastErrorMessage !== null ) { $ message .= "; " . $ lastErrorMessage [ "message" ] ; } return $ message ; }
Append a message with the message from the last encountered error

@param string $message The message to append
@return string
Append a message with the message from the last encountered error