http://svn.php.net/viewvc?view=revision&revision=280732
http://svn.php.net/viewvc?view=revision&revision=297236
--- amf.c.orig 2008-07-18 05:28:36.000000000 -0500
+++ amf.c 2012-05-25 18:58:22.000000000 -0500
/* module Declarations {{{1*/
-static function_entry amf_functions[] = {
+static zend_function_entry amf_functions[] = {
PHP_FE(amf_join_test, NULL)
int resultType = AMFC_TYPEDOBJECT;
int resultValueLength = 0;
zval** resultValue = struc;
- int deallocResult = (*struc)->refcount;
+ int deallocResult = ZVAL_REFCOUNT(*struc);
resultType = amf_perform_serialize_callback(struc, &className,&classNameLen,&resultValue,var_hash TSRMLS_CC);
- ZVAL_STRINGL(*rval, (char*)src, slength, 1)
+ ZVAL_STRINGL(*rval, (char*)src, slength, 1);