diff options
author | Jakub Zelenka <bukka@php.net> | 2015-01-12 09:02:17 +0000 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2015-01-12 09:02:17 +0000 |
commit | b3823f5cab4e405b767cd8dddebb54b1c29bd2a8 (patch) | |
tree | e42fbf615d62213c1e744b8a909155e8f2cdaa87 /ext/intl/timezone/timezone_class.cpp | |
parent | e6fb493e5dbafdad37ba5334c986636342b5d9aa (diff) | |
parent | 31817447cc06093368f022086340ad3f6f616528 (diff) | |
download | php-git-b3823f5cab4e405b767cd8dddebb54b1c29bd2a8.tar.gz |
Merge branch 'master' into jsond
Conflicts:
ext/json/JSON_parser.c
ext/json/JSON_parser.h
ext/json/json.c
ext/json/utf8_decode.c
Diffstat (limited to 'ext/intl/timezone/timezone_class.cpp')
-rw-r--r-- | ext/intl/timezone/timezone_class.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/intl/timezone/timezone_class.cpp b/ext/intl/timezone/timezone_class.cpp index 99b95e14a8..8b4d6ef127 100644 --- a/ext/intl/timezone/timezone_class.cpp +++ b/ext/intl/timezone/timezone_class.cpp @@ -213,7 +213,7 @@ U_CFUNC TimeZone *timezone_process_timezone_argument(zval *zv_timezone, return NULL; } } - + zval_dtor(&local_zv_tz); return timeZone; @@ -279,7 +279,7 @@ static int TimeZone_compare_objects(zval *object1, zval *object2) return 0; } } - + return 1; } /* }}} */ @@ -297,7 +297,7 @@ static HashTable *TimeZone_get_debug_info(zval *object, int *is_temp) UErrorCode uec = U_ZERO_ERROR; *is_temp = 1; - + ALLOC_HASHTABLE(debug_info); zend_hash_init(debug_info, 8, NULL, ZVAL_PTR_DTOR, 0); @@ -330,11 +330,11 @@ static HashTable *TimeZone_get_debug_info(zval *object, int *is_temp) if (U_FAILURE(uec)) { return debug_info; } - + ZVAL_LONG(&zv, (zend_long)rawOffset); - zend_hash_str_update(debug_info,"rawOffset", sizeof("rawOffset") - 1, &zv); + zend_hash_str_update(debug_info,"rawOffset", sizeof("rawOffset") - 1, &zv); ZVAL_LONG(&zv, (zend_long)(rawOffset + dstOffset)); - zend_hash_str_update(debug_info,"currentOffset", sizeof("currentOffset") - 1, &zv); + zend_hash_str_update(debug_info,"currentOffset", sizeof("currentOffset") - 1, &zv); return debug_info; } @@ -379,7 +379,7 @@ static zend_object *TimeZone_object_create(zend_class_entry *ce) TimeZone_object* intern; intern = (TimeZone_object*)ecalloc(1, sizeof(TimeZone_object) + sizeof(zval) * (ce->default_properties_count - 1)); - + zend_object_std_init(&intern->zo, ce); object_properties_init(&intern->zo, ce); TimeZone_object_init(intern); |