| | 36 | |
| | 37 | /* {{{ dirty fix for PHP 6 */ |
| | 38 | #ifdef add_assoc_long_ex |
| | 39 | static inline void my_add_assoc_long_ex(zval *arg, char *key, uint key_len, long value) |
| | 40 | { |
| | 41 | add_assoc_long_ex(arg, key, key_len, value); |
| | 42 | } |
| | 43 | # undef add_assoc_long_ex |
| | 44 | # define add_assoc_long_ex my_add_assoc_long_ex |
| | 45 | #endif |
| | 46 | #ifdef add_assoc_bool_ex |
| | 47 | static inline void my_add_assoc_bool_ex(zval *arg, char *key, uint key_len, zend_bool value) |
| | 48 | { |
| | 49 | add_assoc_bool_ex(arg, key, key_len, value); |
| | 50 | } |
| | 51 | # undef add_assoc_bool_ex |
| | 52 | # define add_assoc_bool_ex my_add_assoc_bool_ex |
| | 53 | #endif |
| | 54 | #ifdef add_assoc_null_ex |
| | 55 | static inline void my_add_assoc_null_ex(zval *arg, char *key, uint key_len) |
| | 56 | { |
| | 57 | add_assoc_null_ex(arg, key, key_len); |
| | 58 | } |
| | 59 | # undef add_assoc_null_ex |
| | 60 | # define add_assoc_null_ex my_add_assoc_null_ex |
| | 61 | #endif |
| | 62 | /* }}} */ |