-/*
+/*
+----------------------------------------------------------------------+
| PHP version 4.0 |
+----------------------------------------------------------------------+
return SUCCESS;
}
-PS_SERIALIZER_DECODE_FUNC(wddx)
+PS_SERIALIZER_DECODE_FUNC(wddx)
{
zval *retval;
zval **ent;
}
static char *month_names[] = {
- "Jan", "Feb", "Mar", "Apr", "May", "Jun",
+ "Jan", "Feb", "Mar", "Apr", "May", "Jun",
"Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
};
-static char *week_days[] = {
+static char *week_days[] = {
"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"
};
http://yoursite/<session-name>=<session-id>/script.php */
if(!PS(id) &&
- zend_hash_find(&EG(symbol_table), "REQUEST_URI",
+ zend_hash_find(&EG(symbol_table), "REQUEST_URI",
sizeof("REQUEST_URI"), (void **) &data) == SUCCESS &&
(*data)->type == IS_STRING &&
(p = strstr((*data)->value.str.val, PS(session_name))) &&
/* check whether the current request was referred to by
an external site which invalidates the previously found id */
- if(PS(id) &&
+ if(PS(id) &&
PS(extern_referer_chk)[0] != '\0' &&
zend_hash_find(&EG(symbol_table), "HTTP_REFERER",
sizeof("HTTP_REFERER"), (void **) &data) == SUCCESS &&
if(PS(mod_data) && PS(gc_probability) > 0) {
srand(time(NULL));
nrand = (int) (100.0*rand()/RAND_MAX);
- if(nrand < PS(gc_probability))
+ if(nrand < PS(gc_probability))
PS(mod)->gc(&PS(mod_data), PS(gc_maxlifetime));
}
}