move listing commands out to their own command list
add TSRMLS_CC in clear_param for consistency