+HashTable *php_pq_object_properties(zval *object TSRMLS_DC)
+{
+ HashTable *ht = zend_get_std_object_handlers()->get_properties(object TSRMLS_CC);
+ php_pq_object_t *obj = zend_object_store_get_object(object TSRMLS_CC);
+
+ zend_hash_apply_with_arguments(&obj->zo.ce->properties_info TSRMLS_CC, apply_pi_to_ht, 4, ht, object, obj, 1);
+
+ return ht;
+}
+