/PHP-7.0/ext/intl/tests/ |
H A D | timezone_createTimeZoneIDEnumeration_error.phpt | 2 IntlTimeZone::createTimeZoneIDEnumeration(): errors 13 var_dump(IntlTimeZone::createTimeZoneIDEnumeration()); 14 var_dump(IntlTimeZone::createTimeZoneIDEnumeration(array())); 15 var_dump(IntlTimeZone::createTimeZoneIDEnumeration(-1)); 16 var_dump(IntlTimeZone::createTimeZoneIDEnumeration(IntlTimeZone::TYPE_ANY, array())); 17 var_dump(IntlTimeZone::createTimeZoneIDEnumeration(IntlTimeZone::TYPE_ANY, "PT", "a80")); 21 Warning: IntlTimeZone::createTimeZoneIDEnumeration() expects at least 1 parameter, 0 given in %s on… 23 Warning: IntlTimeZone::createTimeZoneIDEnumeration(): intltz_create_time_zone_id_enumeration: bad a… 26 Warning: IntlTimeZone::createTimeZoneIDEnumeration() expects parameter 1 to be integer, array given… 34 Warning: IntlTimeZone::createTimeZoneIDEnumeration() expects parameter 2 to be string, array given … [all …]
|
H A D | timezone_getRegion_error.phpt | 2 IntlTimeZone::getRegion(): errors 13 var_dump(IntlTimeZone::getRegion()); 14 var_dump(IntlTimeZone::getRegion(array())); 15 var_dump(IntlTimeZone::getRegion('Europe/Lisbon', 4)); 16 var_dump(IntlTimeZone::getRegion("foo\x81")); 17 var_dump(IntlTimeZone::getRegion("foo")); 23 Warning: IntlTimeZone::getRegion() expects exactly 1 parameter, 0 given in %s on line %d 25 Warning: IntlTimeZone::getRegion(): intltz_get_region: bad arguments in %s on line %d 30 Warning: IntlTimeZone::getRegion(): intltz_get_region: bad arguments in %s on line %d 33 Warning: IntlTimeZone::getRegion() expects exactly 1 parameter, 2 given in %s on line %d [all …]
|
H A D | timezone_createTimeZoneIDEnumeration_variant2.phpt | 2 IntlTimeZone::createTimeZoneIDEnumeration(): variant without region 12 $enum = IntlTimeZone::createTimeZoneIDEnumeration( 13 IntlTimeZone::TYPE_ANY); 15 $enum = IntlTimeZone::createTimeZoneIDEnumeration( 16 IntlTimeZone::TYPE_CANONICAL); 18 $enum = IntlTimeZone::createTimeZoneIDEnumeration( 19 IntlTimeZone::TYPE_CANONICAL_LOCATION); 25 $enum = IntlTimeZone::createTimeZoneIDEnumeration( 26 IntlTimeZone::TYPE_ANY, null, null); 30 $enum = IntlTimeZone::createTimeZoneIDEnumeration( [all …]
|
H A D | timezone_fromDateTimeZone_error.phpt | 2 IntlTimeZone::fromDateTimeZone(): argument errors 13 var_dump(IntlTimeZone::fromDateTimeZone()); 14 var_dump(IntlTimeZone::fromDateTimeZone(1,2)); 15 var_dump(IntlTimeZone::fromDateTimeZone('sdfds')); 16 var_dump(IntlTimeZone::fromDateTimeZone(new stdclass)); 18 var_dump(IntlTimeZone::fromDateTimeZone($dt->getTimeZone())); 24 Warning: IntlTimeZone::fromDateTimeZone() expects exactly 1 parameter, 0 given in %s on line %d 26 Warning: IntlTimeZone::fromDateTimeZone(): intltz_from_date_time_zone: bad arguments in %s on line … 29 Warning: IntlTimeZone::fromDateTimeZone() expects exactly 1 parameter, 2 given in %s on line %d 31 Warning: IntlTimeZone::fromDateTimeZone(): intltz_from_date_time_zone: bad arguments in %s on line … [all …]
|
H A D | timezone_createTimeZone_error.phpt | 2 IntlTimeZone::createTimeZone(): errors 11 var_dump(IntlTimeZone::createTimeZone()); 12 var_dump(IntlTimeZone::createTimeZone(new stdClass)); 13 var_dump(IntlTimeZone::createTimeZone("foo bar", 4)); 14 var_dump(IntlTimeZone::createTimeZone("foo\x80")); 18 Warning: IntlTimeZone::createTimeZone() expects exactly 1 parameter, 0 given in %s on line %d 20 Warning: IntlTimeZone::createTimeZone(): intltz_create_time_zone: bad arguments in %s on line %d 23 Warning: IntlTimeZone::createTimeZone() expects parameter 1 to be string, object given in %s on lin… 25 Warning: IntlTimeZone::createTimeZone(): intltz_create_time_zone: bad arguments in %s on line %d 28 Warning: IntlTimeZone::createTimeZone() expects exactly 1 parameter, 2 given in %s on line %d [all …]
|
H A D | timezone_getEquivalentID_error.phpt | 2 IntlTimeZone::getEquivalentID(): errors 11 var_dump(IntlTimeZone::getEquivalentID('foo')); 12 var_dump(IntlTimeZone::getEquivalentID('foo', 'bar')); 13 var_dump(IntlTimeZone::getEquivalentID('Europe/Lisbon', 0, 1)); 14 var_dump(IntlTimeZone::getEquivalentID("foo\x80", 0)); 18 Warning: IntlTimeZone::getEquivalentID() expects exactly 2 parameters, 1 given in %s on line %d 20 Warning: IntlTimeZone::getEquivalentID(): intltz_get_equivalent_id: bad arguments in %s on line %d 23 Warning: IntlTimeZone::getEquivalentID() expects parameter 2 to be integer, string given in %s on l… 25 Warning: IntlTimeZone::getEquivalentID(): intltz_get_equivalent_id: bad arguments in %s on line %d 28 Warning: IntlTimeZone::getEquivalentID() expects exactly 2 parameters, 3 given in %s on line %d [all …]
|
H A D | timezone_countEquivalentIDs_error.phpt | 2 IntlTimeZone::countEquivalentIDs(): errors 11 var_dump(IntlTimeZone::countEquivalentIDs()); 12 var_dump(IntlTimeZone::countEquivalentIDs(array())); 13 var_dump(IntlTimeZone::countEquivalentIDs("foo\x80")); 14 var_dump(IntlTimeZone::countEquivalentIDs("foo bar", 7)); 19 Warning: IntlTimeZone::countEquivalentIDs() expects exactly 1 parameter, 0 given in %s on line %d 21 Warning: IntlTimeZone::countEquivalentIDs(): intltz_count_equivalent_ids: bad arguments in %s on li… 24 Warning: IntlTimeZone::countEquivalentIDs() expects parameter 1 to be string, array given in %s on … 26 Warning: IntlTimeZone::countEquivalentIDs(): intltz_count_equivalent_ids: bad arguments in %s on li… 32 Warning: IntlTimeZone::countEquivalentIDs() expects exactly 1 parameter, 2 given in %s on line %d [all …]
|
H A D | timezone_getDisplayName_error.phpt | 2 IntlTimeZone::getDisplayName(): errors 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 15 var_dump($tz->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT, array())); 16 var_dump($tz->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT, NULL, NULL)); 18 var_dump(intltz_get_display_name(null, IntlTimeZone::DISPLAY_SHORT, false, 'pt_PT')); 22 Warning: IntlTimeZone::getDisplayName() expects parameter 1 to be boolean, array given in %s on lin… 24 Warning: IntlTimeZone::getDisplayName(): intltz_get_display_name: bad arguments in %s on line %d 29 Warning: IntlTimeZone::getDisplayName(): intltz_get_display_name: bad arguments in %s on line %d 37 Warning: IntlTimeZone::getDisplayName(): intltz_get_display_name: bad arguments in %s on line %d 40 Warning: IntlTimeZone::getDisplayName() expects at most 3 parameters, 4 given in %s on line %d [all …]
|
H A D | timezone_getDisplayName_variant4.phpt | 2 IntlTimeZone::getDisplayName(): type parameter (ICU >= 51.2) 12 $lsb = IntlTimeZone::createTimeZone('Europe/Lisbon'); 15 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT)); 16 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG)); 17 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GENERIC)); 18 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GENERIC)); 19 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GMT)); 20 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GMT)); 21 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_COMMONLY_USED)); 22 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_GENERIC_LOCATION));
|
H A D | timezone_getDisplayName_variant2.phpt | 2 IntlTimeZone::getDisplayName(): type parameter (ICU < 49) 17 $lsb = IntlTimeZone::createTimeZone('Europe/Lisbon'); 20 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT)); 21 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG)); 22 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GENERIC)); 23 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GENERIC)); 24 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GMT)); 25 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GMT)); 26 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_COMMONLY_USED)); 27 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_GENERIC_LOCATION));
|
H A D | timezone_getCanonicalID_error.phpt | 2 IntlTimeZone::getCanonicalID(): errors 11 var_dump(IntlTimeZone::getCanonicalID()); 12 var_dump(IntlTimeZone::getCanonicalID(array())); 13 var_dump(IntlTimeZone::getCanonicalID("foo\x81")); 14 var_dump(IntlTimeZone::getCanonicalID('foobar', null)); 19 Warning: IntlTimeZone::getCanonicalID() expects at least 1 parameter, 0 given in %s on line %d 21 Warning: IntlTimeZone::getCanonicalID(): intltz_get_canonical_id: bad arguments in %s on line %d 24 Warning: IntlTimeZone::getCanonicalID() expects parameter 1 to be string, array given in %s on line… 26 Warning: IntlTimeZone::getCanonicalID(): intltz_get_canonical_id: bad arguments in %s on line %d 29 Warning: IntlTimeZone::getCanonicalID(): intltz_get_canonical_id: could not convert time zone id to…
|
H A D | timezone_getDisplayName_variant2-49+.phpt | 2 IntlTimeZone::getDisplayName(): type parameter (ICU >= 49 && ICU < 50.1.2) 13 $lsb = IntlTimeZone::createTimeZone('Europe/Lisbon'); 16 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT)); 17 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG)); 18 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GENERIC)); 19 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GENERIC)); 20 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_GMT)); 21 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG_GMT)); 22 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_SHORT_COMMONLY_USED)); 23 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_GENERIC_LOCATION));
|
H A D | timezone_clone_basic.phpt | 2 IntlTimeZone clone handler: basic test 11 $tz1 = IntlTimeZone::createTimeZone('Europe/Amsterdam'); 16 $gmt = IntlTimeZone::getGMT(); 23 IntlTimeZone Object 30 IntlTimeZone Object 37 IntlTimeZone Object 44 IntlTimeZone Object
|
H A D | timezone_createEnumeration_error.phpt | 2 IntlTimeZone::createEnumeration(): errors 11 var_dump(IntlTimeZone::createEnumeration(array())); 12 var_dump(IntlTimeZone::createEnumeration(1, 2)); 17 Warning: IntlTimeZone::createEnumeration(): intltz_create_enumeration: invalid argument type in %s … 20 Warning: IntlTimeZone::createEnumeration() expects at most 1 parameter, 2 given in %s on line %d 22 Warning: IntlTimeZone::createEnumeration(): intltz_create_enumeration: bad arguments in %s on line …
|
H A D | timezone_getOffset_error.phpt | 2 IntlTimeZone::getOffset(): errors 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 20 Warning: IntlTimeZone::getOffset(): intltz_get_offset: error obtaining offset in %s on line %d 23 Warning: IntlTimeZone::getOffset() expects exactly 4 parameters, 3 given in %s on line %d 25 Warning: IntlTimeZone::getOffset(): intltz_get_offset: bad arguments in %s on line %d 28 Warning: IntlTimeZone::getOffset() expects exactly 4 parameters, 5 given in %s on line %d 30 Warning: IntlTimeZone::getOffset(): intltz_get_offset: bad arguments in %s on line %d 33 …rror: Argument 1 passed to intltz_get_offset() must be an instance of IntlTimeZone, null given in …
|
H A D | timezone_createTimeZoneIDEnumeration_variant1.phpt | 2 IntlTimeZone::createTimeZoneIDEnumeration(): variant without offset 12 $enum = IntlTimeZone::createTimeZoneIDEnumeration( 13 IntlTimeZone::TYPE_ANY, 19 $enum = IntlTimeZone::createTimeZoneIDEnumeration( 20 IntlTimeZone::TYPE_ANY,
|
H A D | timezone_getDisplayName_variant3.phpt | 2 IntlTimeZone::getDisplayName(): locale parameter 15 $lsb = IntlTimeZone::createTimeZone('Europe/Lisbon'); 18 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG)); 19 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG, NULL)); 20 var_dump($lsb->getDisplayName(false, IntlTimeZone::DISPLAY_LONG, 'pt_PT'));
|
H A D | timezone_getGMT_basic.phpt | 2 IntlTimeZone::getGMT(): basic test 10 $tz = IntlTimeZone::getGMT(); 17 IntlTimeZone Object 24 IntlTimeZone Object
|
H A D | timezone_getGMT_error.phpt | 2 IntlTimeZone::getGMT(): errors 11 var_dump(IntlTimeZone::getGMT(4)); 16 Warning: IntlTimeZone::getGMT() expects exactly 0 parameters, 1 given in %s on line %d 18 Warning: IntlTimeZone::getGMT(): intltz_get_gmt: bad arguments in %s on line %d
|
H A D | timezone_createDefault_error.phpt | 2 IntlTimeZone::createDefault(): errors 11 var_dump(IntlTimeZone::createDefault(4)); 16 Warning: IntlTimeZone::createDefault() expects exactly 0 parameters, 1 given in %s on line %d 18 Warning: IntlTimeZone::createDefault(): intltz_create_default: bad arguments in %s on line %d
|
H A D | timezone_getTZDataVersion_error.phpt | 2 IntlTimeZone::getTZDataVersion(): errors 11 var_dump(IntlTimeZone::getTZDataVersion('foo')); 15 Warning: IntlTimeZone::getTZDataVersion() expects exactly 0 parameters, 1 given in %s on line %d 17 Warning: IntlTimeZone::getTZDataVersion(): intltz_get_tz_data_version: bad arguments in %s on line …
|
H A D | timezone_getErrorCode_error.phpt | 2 IntlTimeZone::getErrorCode(): errors 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 18 Warning: IntlTimeZone::getErrorCode() expects exactly 0 parameters, 1 given in %s on line %d 20 Warning: IntlTimeZone::getErrorCode(): intltz_get_error_code: bad arguments in %s on line %d 23 …: Argument 1 passed to intltz_get_error_code() must be an instance of IntlTimeZone, null given in …
|
H A D | timezone_getID_error.phpt | 2 IntlTimeZone::getID(): errors 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 18 Warning: IntlTimeZone::getID() expects exactly 0 parameters, 1 given in %s on line %d 20 Warning: IntlTimeZone::getID(): intltz_get_id: bad arguments in %s on line %d 23 …ypeError: Argument 1 passed to intltz_get_id() must be an instance of IntlTimeZone, null given in …
|
H A D | timezone_getRawOffset_error.phpt | 2 IntlTimeZone::getRawOffset(): errors 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 18 Warning: IntlTimeZone::getRawOffset() expects exactly 0 parameters, 1 given in %s on line %d 20 Warning: IntlTimeZone::getRawOffset(): intltz_get_raw_offset: bad arguments in %s on line %d 23 …: Argument 1 passed to intltz_get_raw_offset() must be an instance of IntlTimeZone, null given in …
|
H A D | timezone_getDSTSavings_error.phpt | 2 IntlTimeZone::getDSTSavings(): errors 11 $tz = IntlTimeZone::createTimeZone('Europe/Lisbon'); 18 Warning: IntlTimeZone::getDSTSavings() expects exactly 0 parameters, 1 given in %s on line %d 20 Warning: IntlTimeZone::getDSTSavings(): intltz_get_dst_savings: bad arguments in %s on line %d 23 … Argument 1 passed to intltz_get_dst_savings() must be an instance of IntlTimeZone, null given in …
|