How to output array as string in PHP? asked Dec 12, 2020 in PHP by Pantycle_Genefanty (12.3k points) 0 like 0 dislike 10 views How I can to print array like string in PHP? Me need analogue echo for array in PHP. php echo array as string php echo array values php echo array print output Your comment on this question: Your name to display (optional): Email me at this address if a comment is added after mine:Email me if a comment is added after mine Privacy: Your email address will only be used for sending these notifications. Anti-spam verification: To avoid this verification in future, please log in or register. 1 Answer 0 like 0 dislike answered Dec 13, 2020 by Pantycle_Genefanty (12.3k points) For this use standard function implode: echo implode(NULL, $arr); Implode function join array elements with help specified string, and return all items as string. Your comment on this answer: Your name to display (optional): Email me at this address if a comment is added after mine:Email me if a comment is added after mine Privacy: Your email address will only be used for sending these notifications. Anti-spam verification: To avoid this verification in future, please log in or register.