Open GoogleCodeExporter opened 9 years ago
Hello,
It looks like it's just an issue with the add_assoc_zval_ex() expecting a char*
for the second argument, instead of a const char*.
I'll have to look into if add_assoc_zval_ex() actually modifies the value- I
don't think it does, so it should really be const.
Otherwise, I can just cast the value to char*.
Mike
Original comment by mike.pultz
on 24 Jun 2011 at 1:38
What version of PHP do you have?
As of (at least) 5.3.0, add_assoc_zval() takes a const char* for the second key
param, which is what I'm passing.
http://lxr.sweon.net/php/http/source/Zend/zend_API.c?v=5.3.0#L1189
Mike
Original comment by mike.pultz
on 24 Jun 2011 at 2:06
Original issue reported on code.google.com by
phpconn...@gmail.com
on 20 Jun 2011 at 1:05