a href adds default URL with the given echo URL

I am a little stuck in one situation. I am removing some errors from my site and got one unexpected error
here below is my code:-

and the output of this code is:

I only want to echo the array URL value in the anchor HTML tag. So I did this coding below:

now instead of getting anchor link = www.google.com | I got anchor link = |
that thing doesn’t make any sense adding the other URL automatically in-front of the given URL.