add TSRMLS_CC for zend_print_zval_r