Php Class Variable Array Javascript Append To String In C