Use zend_zval_type_name() to get string type of zval