mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
- #47966, cannot access curl info array without binary
To check: why add_assoc_ascii_string_ex fails while add_assoc_ascii_string works
This commit is contained in:
parent
1d7ce8919e
commit
25932bbcd5
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ static void _php_curl_close(zend_rsrc_list_entry *rsrc TSRMLS_DC);
|
|||
|
||||
#define CAAL(s, v) add_assoc_long_ex(return_value, s, sizeof(s), (long) v);
|
||||
#define CAAD(s, v) add_assoc_double_ex(return_value, s, sizeof(s), (double) v);
|
||||
#define CAAS(s, v) add_assoc_ascii_string_ex(return_value, s, sizeof(s), (char *) (v ? v : ""), 1);
|
||||
#define CAAS(s, v) add_ascii_assoc_string(return_value, s, (v ? v : ""), 1);
|
||||
#define CAAZ(s, v) add_assoc_zval_ex(return_value, s, sizeof(s), (zval *) v);
|
||||
|
||||
#if defined(PHP_WIN32) || defined(__GNUC__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue