Hi, This is another shot at a patch to manage refcount and is_ref of zvals with macros. The macros are implemented with inline functions that are forcibly inlined (so they will behave the same as macros). This will make it possible to put multiple statements in each macro later on for garbage collection purposes.
One thing to note is that I removed the existing ZVAL_ADDREF and ZVAL_DELREF in favor of Z_ADDREF_P and Z_DELREF_P that do the same thing. The original duo acted on zval pointers contrary to standard form for macro names. The patch is probably too large to fit as an attachment, so here's a URL: http://zoo.cs.yale.edu/~yw226/macros.diff.txt Comments? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php