<?php $array = array('a','b','c'); $json = json_encode($array); echo $link = '<a href.. tag="'.htmlentities($json).'">';
Standard input is empty
<a href.. tag="["a","b","c"]">
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!