An array of tags id was obtained from which you need to make a list of working links, in which the URL will be a link to the tag and the anchor will be the name of the tag.
This is about the array I am getting (in this case, 3 id tags should be returned, but there can be any number from zero):
array (4) {[0] => string (1) "0" [1] => string (2) "35" [2] => string (2) "34" [3] => string (2) "74"}
How to process it to the state of the list of urls?