Skip to content

Commit 71a8b01

Browse files
committed
Merge remote-tracking branch 'origin/str_size_and_int64_56_backport' into str_size_and_int64
* origin/str_size_and_int64_56_backport: Updated NEWS for #67043 Fixed bug 67043 cleanup Fixes bug #66071: isc_interprete is unsafe and deprecated , it is replaced with fb_iterpret updated libs versions fixed the test for ICI >= 52.1 Fix Linux specific fail in error traces Linux apparently does not like memcpy in overlapping regions... add missing skip to the output, so we actually skip this test fix the test according to how new date code does it fix to work on different ICU versions multibytes tests still fail, put them in XFAIL
2 parents 589384c + abad64c commit 71a8b01

15 files changed

+460
-33
lines changed

Zend/zend_exceptions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ ZEND_METHOD(error_exception, getSeverity)
365365

366366
#define TRACE_ARG_APPEND(vallen) \
367367
*str = (char*)erealloc(*str, *len + 1 + vallen); \
368-
memcpy((*str) + *len - l_added + 1 + vallen, (*str) + *len - l_added + 1, l_added);
368+
memmove((*str) + *len - l_added + 1 + vallen, (*str) + *len - l_added + 1, l_added);
369369

370370
/* }}} */
371371

ext/intl/tests/dateformat_format.phpt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -359,40 +359,40 @@ Formatted DateTime is : 20091231 03:02 PM
359359
------------
360360
Date is: DateTime::__set_state(array(
361361
'date' => '2000-12-30 19:04:05',
362-
'timezone_type' => 3,
363-
'timezone' => 'America/Los_Angeles',
362+
'timezone_type' => 2,
363+
'timezone' => 'PDT',
364364
))
365365
------------
366366
Formatted DateTime is : Saturday, December 30, 2000 5:04:05 PM GMT-10:00
367367
------------
368368
Date is: DateTime::__set_state(array(
369369
'date' => '2000-12-30 19:04:05',
370-
'timezone_type' => 3,
371-
'timezone' => 'America/Los_Angeles',
370+
'timezone_type' => 2,
371+
'timezone' => 'PDT',
372372
))
373373
------------
374374
Formatted DateTime is : December 30, 2000 5:04:05 PM GMT-10:00
375375
------------
376376
Date is: DateTime::__set_state(array(
377377
'date' => '2000-12-30 19:04:05',
378-
'timezone_type' => 3,
379-
'timezone' => 'America/Los_Angeles',
378+
'timezone_type' => 2,
379+
'timezone' => 'PDT',
380380
))
381381
------------
382382
Formatted DateTime is : Dec 30, 2000 5:04:05 PM
383383
------------
384384
Date is: DateTime::__set_state(array(
385385
'date' => '2000-12-30 19:04:05',
386-
'timezone_type' => 3,
387-
'timezone' => 'America/Los_Angeles',
386+
'timezone_type' => 2,
387+
'timezone' => 'PDT',
388388
))
389389
------------
390390
Formatted DateTime is : 12/30/00 5:04 PM
391391
------------
392392
Date is: DateTime::__set_state(array(
393393
'date' => '2000-12-30 19:04:05',
394-
'timezone_type' => 3,
395-
'timezone' => 'America/Los_Angeles',
394+
'timezone_type' => 2,
395+
'timezone' => 'PDT',
396396
))
397397
------------
398398
Formatted DateTime is : 20001230 05:04 PM

ext/intl/tests/dateformat_format_variant2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
datefmt_format_code()
33
--SKIPIF--
44
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
5-
<?php if (version_compare(INTL_ICU_VERSION, '51.2') < 0) die('skip for ICU >= 51.2'); ?>
5+
<?php if (version_compare(INTL_ICU_VERSION, '51.2') < 0 || version_compare(INTL_ICU_VERSION, '52.1') >= 0) die('skip for ICU >= 51.2 && ICU < 52.1'); ?>
66
--FILE--
77
<?php
88

0 commit comments

Comments
 (0)