Date: 08/10/01
- Next message: Zeev Suraski: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c"
- Previous message: alindeman <email protected>: "[PHP-DEV] Bug #12688 Updated: preg_match doesn't return newlines in match array"
- Next in thread: Zeev Suraski: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c"
- Reply: Zeev Suraski: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> >php_sablot.h has:
> >
> >typedef struct _php_sablot_globals {
> > zval *errorHandler;
> > php_sablot_error *errors;
> > php_sablot_error errors_start;
> > char *output_transform_file; /* For output transformations */
> > int last_errno; /* Global last_errno, if no handle is
> > found */
> > SablotHandle processor;
> >} php_sablot_globals
> >
> >And now it won't build.
>
> It's a module interfacing with the engine. If it used the
> BEGIN_MODULE_GLOBALS etc. macros, it'd build fine - I'll fix it.
This stuff is more the interface with the thread-safe resource manager.
These are not zend globals. They are extension globals.
> Making a bad situation worse is simply not a good idea, that's why. PHP
> extensions are really zend_module_entry's - the PHP macros are replicas of
> the engine macros, which is a bad situation. Removing them was on my
> TODO list on low prio, but I took the few minutes to do that now.
I don't think this is a good trend. More and more stuff is being pulled
into the engine. We are losing the clean distinction here.
-Rasmus
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Zeev Suraski: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c"
- Previous message: alindeman <email protected>: "[PHP-DEV] Bug #12688 Updated: preg_match doesn't return newlines in match array"
- Next in thread: Zeev Suraski: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c"
- Reply: Zeev Suraski: "[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sablot sablot.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

