Skip to content

Instantly share code, notes, and snippets.

@nicolasff
Created November 19, 2008 16:58
Show Gist options
  • Save nicolasff/26584 to your computer and use it in GitHub Desktop.
Save nicolasff/26584 to your computer and use it in GitHub Desktop.
typedef union _zvalue_value {
long lval; /* long value */
double dval; /* double value */
struct {
char *val;
int len;
} str;
HashTable *ht; /* hash table value */
zend_object_value obj;
} zvalue_value;
struct _zval_struct {
/* Variable information */
zvalue_value value; /* value */
zend_uint refcount;
zend_uchar type; /* active type */
zend_uchar is_ref;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment