#define ENCODE_VARS \
char *key; \
ulong num_key; \
- zval **struc \
- PSLS_FETCH(); \
- ELS_FETCH();
+ zval **struc; \
+ ELS_FETCH()
#define ENCODE_LOOP(code) \
for(zend_hash_internal_pointer_reset(&PS(vars)); \
{
zval *buf;
char strbuf[MAX_STR + 1];
- ENCODE_VARS
+ ENCODE_VARS;
buf = ecalloc(sizeof(*buf), 1);
buf->type = IS_STRING;
PS_SERIALIZER_ENCODE_FUNC(wddx)
{
wddx_packet *packet;
- ENCODE_VARS
+ ENCODE_VARS;
packet = _php_wddx_constructor();
if(!packet) return FAILURE;
static void _php_session_decode(const char *val, int vallen PSLS_DC)
{
+ PLS_FETCH();
+
if (PG(track_vars))
php_session_track_init();
PS(serializer)->decode(val, vallen PSLS_CC);