Skip to content

Instantly share code, notes, and snippets.

Created May 23, 2014 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f47614c2488949dc9a9d to your computer and use it in GitHub Desktop.
Save anonymous/f47614c2488949dc9a9d to your computer and use it in GitHub Desktop.
zval *zend_std_read_property(zval *object, zval *member, int type TSRMLS_DC) /* {{{ */
{
// ...
property_info = zend_get_property_info(zobj->ce, member, (zobj->ce->__get != NULL) TSRMLS_CC);
if (!property_info || zend_hash_quick_find(zobj->properties, property_info->name, property_info->name_length+1, property_info->h, (void **) &retval) == FAILURE) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment