Any idea who added the following macros?
zend_operators.h:#define convert_to_writable_ex_master(ppzv, lower_type,
upper_type)
zend_operators.h:#define
convert_to_writable_boolean_ex(ppzv) convert_to_writable_ex_master(ppzv,
boolean, BOOL)
zend_operators.h:#define
convert_to_writable_long_ex(ppzv)
convert_to_writable_ex_master(ppzv, long, LONG)
zend_operators.h:#define
convert_to_writable_double_ex(ppzv)
convert_to_writable_ex_master(ppzv, double, DOUBLE)
zend_operators.h:#define
convert_to_writable_string_ex(ppzv)
convert_to_writable_ex_master(ppzv, string, STRING)
zend_operators.h:#define
convert_to_writable_array_ex(ppzv)
convert_to_writable_ex_master(ppzv, array, ARRAY)
zend_operators.h:#define
convert_to_writable_object_ex(ppzv)
convert_to_writable_ex_master(ppzv, object, OBJECT)
zend_operators.h:#define
convert_to_writable_null_ex(ppzv)
convert_to_writable_ex_master(ppzv, null, NULL)
They only seem to be used in imap/php_imap.c and they don't make very much
sense to me. I'm not sure whoever wrote them and used it in php/imap.c knew
what he was doing. Unless I hear something I will nuke them tomorrow and
will fix the relevant line in php_imap.c to the best of my knowledge.
/home/andi/php5/ext> grep convert_to_writable /.c
imap/php_imap.c: convert_to_writable_string_ex(arg); /*
Is this string really modified? */
Andi
Zitat von Andi Gutmans andi@zend.com:
Any idea who added the following macros?
Zeev in version 1.19:
Tue Apr 18 18:23:28 2000
Add convert_to_writable_*_ex() macros (unused at this time)
:-)
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - Neue Wege des Lernens
http://www.tip4all.de - Deine private Tippgemeinschaft
At 12:01 AM 1/13/2004 +0100, Jan Schneider wrote:
Zitat von Andi Gutmans andi@zend.com:
Any idea who added the following macros?
Zeev in version 1.19:
Tue Apr 18 18:23:28 2000
Add convert_to_writable_*_ex() macros (unused at this time)
Thanks. I'll try and see what the reason for them is because they don't
make any sense to me.
Andi