diff options
author | Nikita Popov <nikic@php.net> | 2014-04-25 16:36:29 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2014-04-25 23:21:05 +0200 |
commit | 5db9312ec8653b2d26f60094ee994b6586e89d54 (patch) | |
tree | b83c04ef7ca432990893bc1f0490a051b47fca68 /ext/mysql/php_mysql.c | |
parent | 778946b3b6ecb917e528096b7d963ec7eb634f65 (diff) | |
download | php-git-5db9312ec8653b2d26f60094ee994b6586e89d54.tar.gz |
Add dst parameter to convert_object_to_type macro
Avoids a ZVAL_DUP in the zval_get_* functions.
Also improve object-to-array cast a bit by initializing the array
with correct number of elements and not doing a alloc-init-free
cycle when convert_object_to_type succeeds.
Diffstat (limited to 'ext/mysql/php_mysql.c')
0 files changed, 0 insertions, 0 deletions