change to PHP-statement array to triple list