RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.c zend.h zend_API.c zend_API.h zend_alloc.c zend_builtin_functions.c zend_compile.c zend_constants.c
zend_exceptions.c zend_execute.c zend_execute.h zend_execute_API.c zend_highlight.c zend_indent.c zend_ini.c

From: Date: Tue, 21 Feb 2006 06:50:07 +0000
Subject: RE: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.c zend.h zend_API.c zend_API.h zend_alloc.c zend_builtin_functions.c zend_compile.c zend_constants.c
zend_exceptions.c zend_execute.c zend_execute.h zend_execute_API.c zend_highlight.c zend_indent.c zend_ini.c
References: 1  Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4601@lists.php.net to get a copy of this message
I agree. Void* is bad decision. I'll change it to something like char*/Uchar* union in ALL functions. Thanks. Dmitry. > -----Original Message----- > From: Marcus Boerger [mailto:helly@php.net] > Sent: Monday, February 20, 2006 10:54 PM > To: Dmitry Stogov > Cc: zend-engine-cvs@lists.php.net > Subject: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend.c > zend.h zend_API.c zend_API.h zend_alloc.c > zend_builtin_functions.c zend_compile.c zend_constants.c > zend_exceptions.c zend_execute.c zend_execute.h > zend_execute_API.c zend_highlight.c zend_indent.c zend_ini.c > > > Hello Dmitry, hey all, > > why are we changing the string type in the code from > "char*" to "void*" when at the same time we fix our code > (thanks for that dmitry) to use our api that allows to do the > correct casting always? I ask this because "char*" has the > advantage in non unicode mode to be very easily debugable, > while using "void*" requires us to do a lot of casting in our > debuggers. > > best regards > marcus > > Monday, February 20, 2006, 8:03:43 PM, you wrote: > > > > > http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend.c?r1=1.335&r2=1.336&di > > ff_format=u > > Index: ZendEngine2/zend.c > > diff -u ZendEngine2/zend.c:1.335 ZendEngine2/zend.c:1.336 > > --- ZendEngine2/zend.c:1.335 Mon Feb 13 10:23:57 2006 > > +++ ZendEngine2/zend.c Mon Feb 20 19:03:42 2006 > > @@ -17,7 +17,7 @@ > > > > > +------------------------------------------------------------- > ---------+ > [...] > > -- > Zend Engine CVS Mailing List (http://cvs.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.zend-engine.cvs (#4601) next »