Home
last modified time | relevance | path

Searched refs:variant (Results 1 – 25 of 52) sorted by relevance

123

/PHP-7.4/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp58 int variant; in _php_intlgregcal_constructor_body() local
73 for (variant = ZEND_NUM_ARGS(); in _php_intlgregcal_constructor_body()
74 variant > 0 && Z_TYPE(args[variant - 1]) == IS_NULL; in _php_intlgregcal_constructor_body()
75 variant--) {} in _php_intlgregcal_constructor_body()
76 if (variant == 4) { in _php_intlgregcal_constructor_body()
88 if (variant <= 2) { in _php_intlgregcal_constructor_body()
115 if (variant <= 2) { in _php_intlgregcal_constructor_body()
150 for (int i = 0; i < variant; i++) { in _php_intlgregcal_constructor_body()
163 if (variant == 3) { in _php_intlgregcal_constructor_body()
166 } else if (variant == 5) { in _php_intlgregcal_constructor_body()
[all …]
H A Dcalendar_methods.cpp409 int variant; /* number of args of the set() overload */ in PHP_FUNCTION() local
424 variant = ZEND_NUM_ARGS() - (object ? 0 : 1); in PHP_FUNCTION()
425 while (variant > 2 && Z_TYPE(args[variant - 1]) == IS_NULL) { in PHP_FUNCTION()
426 variant--; in PHP_FUNCTION()
429 if (variant == 4 || in PHP_FUNCTION()
438 for (i = 0; i < variant; i++) { in PHP_FUNCTION()
447 if (variant == 2 && (arg1 < 0 || arg1 >= UCAL_FIELD_COUNT)) { in PHP_FUNCTION()
455 if (variant == 2) { in PHP_FUNCTION()
457 } else if (variant == 3) { in PHP_FUNCTION()
459 } else if (variant == 5) { in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/com_dotnet/tests/
H A Dbug77177.phpt11 $variant = new VARIANT;
12 foreach ([$com, $dotnet, $variant] as $object) {
20 $strings = ['C:3:"com":0:{}', 'C:6:"dotnet":0:{}', 'C:7:"variant":0:{}'];
29 $strings = ['O:3:"com":0:{}', 'O:6:"dotnet":0:{}', 'O:7:"variant":0:{}'];
38 Exception: Serialization of 'variant' is not allowed
41 Exception: Unserialization of 'variant' is not allowed
53 Warning: Erroneous data format for unserializing 'variant' in %s on line %d
H A Dbug62474.phpt9 var_dump(com_event_sink(new variant, function() {}, array()));
10 var_dump(com_event_sink(new variant, new variant, 'a'));
H A Dbug79247.phpt2 Bug #79247 (Garbage collecting variant objects segfaults)
9 $keep = new variant(null);
H A Dbug63208.phpt10 $variant = new VARIANT($string, VT_ARRAY | VT_UI1, CP_UTF8); // Array of bytes
11 $converted = (string) $variant;
H A Dbug78694.phpt2 Bug #78694 (Appending to a variant array causes segfault)
9 foreach ([new com('WScript.Shell'), new variant([])] as $var) {
H A Dbug79248.phpt9 $v = new variant([], VT_ARRAY);
H A D27974.phpt34 object(variant)#1 (0) {
/PHP-7.4/ext/intl/idn/
H A Didn.c251 variant = INTL_IDN_VARIANT_UTS46; in php_intl_idn_handoff() local
257 &domain, &option, &variant, &idna_info) == FAILURE) { in php_intl_idn_handoff()
262 if (variant != INTL_IDN_VARIANT_2003 && variant != INTL_IDN_VARIANT_UTS46) { in php_intl_idn_handoff()
278 if (variant == INTL_IDN_VARIANT_2003) { in php_intl_idn_handoff()
283 if (variant == INTL_IDN_VARIANT_2003) { in php_intl_idn_handoff()
295 if (variant == INTL_IDN_VARIANT_2003) { in php_intl_idn_handoff()
/PHP-7.4/ext/intl/tests/
H A Didn_uts46_errors.phpt18 echo "bad variant:", "\n";
24 echo "fourth arg for 2003 variant (only notice raised):", "\n";
55 bad variant:
57 Warning: idn_to_ascii(): idn_to_ascii: invalid variant, must be one of {INTL_IDNA_VARIANT_2003, INT…
63 fourth arg for 2003 variant (only notice raised):
H A Dlocale_get_all_variants.phpt33 foreach($variants_arr as $variant){
34 $res_str .= "'$variant',";
H A Dgregoriancalendar___construct_error.phpt35 Warning: intlgregcal_create_instance(): intlgregcal_create_instance: no variant with 4 arguments (e…
38 Exception: IntlGregorianCalendar::__construct(): intlgregcal_create_instance: no variant with 4 arg…
H A Dtimezone_createEnumeration_variation1.phpt2 IntlTimeZone::createEnumeration(): variant with offset
H A Dtimezone_createEnumeration_variation2.phpt2 IntlTimeZone::createEnumeration(): variant with country
H A Dtimezone_createTimeZoneIDEnumeration_variant1.phpt2 IntlTimeZone::createTimeZoneIDEnumeration(): variant without offset
/PHP-7.4/Zend/tests/
H A Dbug78335_2.phpt2 Bug #78335: Static properties containing cycles report as leak (internal class variant)
H A Dexception_019.phpt2 Testing throw exception doesn't crash with wrong params, variant 2
H A Dexception_022.phpt2 Testing throw exception doesn't crash with wrong params, variant 4
H A Dexception_018.phpt2 Testing throw exception doesn't crash with wrong params, variant 1
H A Dexception_021.phpt2 Testing throw exception doesn't crash with wrong params, variant 3
/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_054.phpt2 Typed properties disallow callable (nullable variant)
/PHP-7.4/ext/standard/tests/array/
H A Dbug50006_1.phpt2 Bug #50006 (Segfault caused by uksort()) - usort variant
H A Dbug50006_2.phpt2 Bug #50006 (Segfault caused by uksort()) - uasort variant
/PHP-7.4/ext/com_dotnet/
H A Dcom_extension.c43 ZEND_ARG_INFO(0, variant)
85 ZEND_ARG_INFO(0, variant)
93 ZEND_ARG_INFO(0, variant)
97 ZEND_ARG_INFO(0, variant)
102 ZEND_ARG_INFO(0, variant)

Completed in 114 milliseconds

123