Hi On Fri, 2010-10-29 at 15:29 +0000, Gustavo André dos Santos Lopes wrote: > > Modified: php/php-src/branches/PHP_5_3/ext/standard/file.h > =================================================================== > --- php/php-src/branches/PHP_5_3/ext/standard/file.h 2010-10-29 > 15:02:39 UTC (rev 304984) > +++ php/php-src/branches/PHP_5_3/ext/standard/file.h 2010-10-29 > 15:29:15 UTC (rev 304985) > @@ -118,7 +118,8 @@ > size_t def_chunk_size; > long auto_detect_line_endings; > long default_socket_timeout; > - char *user_agent; > + char *user_agent; /* for the http wrapper */ > + char *from_address; /* for the ftp and http wrappers */ > char *user_stream_current_filename; /* for simple recursion > protection */ > php_stream_context *default_context; > HashTable *stream_wrappers; /* per-request > copy of url_stream_wrappers_hash */
php_file_globals are used from different extensions via the FG() macro: http://lxr.php.net/search?q=&project=XDEBUG&project=PECL&project=PHP-GTK&project=PHP_5_3&defs=&refs=FG&path=&hist= Adding elements to the end might be acceptable (while not preferred) adding elements in between causes trouble for extensions. johannes -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php