Home
last modified time | relevance | path

Searched refs:value (Results 126 – 150 of 2418) sorted by relevance

12345678910>>...97

/php-src/ext/dom/tests/
H A Dbug80602_3.phpt52 string(22) "(object value omitted)"
54 string(22) "(object value omitted)"
56 string(22) "(object value omitted)"
62 string(22) "(object value omitted)"
66 string(22) "(object value omitted)"
70 string(22) "(object value omitted)"
109 string(22) "(object value omitted)"
111 string(22) "(object value omitted)"
113 string(22) "(object value omitted)"
121 string(22) "(object value omitted)"
[all …]
H A Dbug80332_1.phpt25 echo "Attribute [{$key_formatted}] value: ", $span->attributes[$key]->nodeValue ?? '/', "\n";
47 Attribute [0] value: value1
51 Attribute [false] value: value1
55 Attribute [true] value: value2
59 Attribute [null] value: value1
63 Attribute ['attr2'] value: value2
67 Attribute ['hi'] value: /
71 Attribute ['0'] value: value1
75 Attribute ['0.5'] value: value1
79 Attribute ['1'] value: value2
[all …]
H A DDOMNamedNodeMap_string_references.phpt13 var_dump(isset($attributes['href']), $attributes['href']->value);
15 var_dump(isset($attributes['foo']), $attributes['foo']->value);
19 var_dump(isset($attributes[$ref]), $attributes[$ref]->value);
23 var_dump(isset($attributes[$ref]), $attributes[$ref]->value);
31 var_dump(isset($attributes[$ref]), $attributes[$ref]->value);
35 var_dump(isset($attributes[$ref]), $attributes[$ref]->value);
39 var_dump(isset($attributes[$ref]), $attributes[$ref]->value);
43 var_dump(isset($attributes[$ref]), $attributes[$ref]->value);
/php-src/ext/spl/tests/
H A DRecursiveCallbackFilterIterator_trampoline_usage.phpt6 function test($value, $key, $inner) {
11 , print_r($value, true)
13 , $value == $inner->current()
16 return $value === 1 || $value === 4;
32 foreach($it as $value) {
33 echo "=> $value\n";
H A Dbug50579.phpt17 foreach ($i as $name=>$value) {
18 echo $name . '=>' . $value . "\n";
22 foreach ($i as $name=>$value) {
23 echo $name . '=>' . $value . "\n";
29 foreach ($i as $name=>$value) {
30 echo $name . '=>' . $value . "\n";
/php-src/ext/standard/tests/array/
H A Drsort_variation7.phpt11 // bool value array
14 echo "\n-- 'flag' value is default --\n";
19 echo "\n-- 'flag' value is SORT_REGULAR --\n";
24 echo "\n-- 'flag' value is SORT_NUMERIC --\n";
29 echo "\n-- 'flag' value is SORT_STRING --\n";
39 -- 'flag' value is default --
52 -- 'flag' value is SORT_REGULAR --
65 -- 'flag' value is SORT_NUMERIC --
78 -- 'flag' value is SORT_STRING --
H A Drsort_variation8.phpt34 echo "\n-- 'flag' value is default --\n";
39 echo "\n-- 'flag' value is SORT_REGULAR --\n";
53 -- 'flag' value is default --
58 -- 'flag' value is SORT_REGULAR --
65 -- 'flag' value is default --
73 -- 'flag' value is SORT_REGULAR --
83 -- 'flag' value is default --
99 -- 'flag' value is SORT_REGULAR --
117 -- 'flag' value is default --
146 -- 'flag' value is SORT_REGULAR --
H A Darsort_object1.phpt7 * 1. Default flag value
17 // initializing object member value
18 function __construct($value){
19 $this->class_value = $value;
28 // initializing object member value
29 function __construct($value){
30 $this->class_value = $value;
33 // return string value
35 return (string)$this->value;
63 // testing arsort() function by supplying string object array, flag value is default
[all …]
H A Dsort_variation11.phpt6 * testing sort() by providing mixed value array for $array argument with following flag values.
7 * flag value as default
13 // mixed value array
21 echo "\n-- Testing sort() by supplying mixed value array, 'flag' value is default --\n";
26 echo "\n-- Testing sort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
36 -- Testing sort() by supplying mixed value array, 'flag' value is default --
111 -- Testing sort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
/php-src/Zend/tests/enum/
H A Dno-write-properties-through-references.phpt12 $value = &$bar->value;
13 $value = 1;
18 var_dump(Foo::Bar->value);
22 Cannot modify readonly property Foo::$value
H A Dno-return-properties-by-ref.phpt12 return $bar->value;
16 $value = &getBarValueByRef();
17 $value = 1;
22 var_dump(Foo::Bar->value);
26 Cannot modify readonly property Foo::$value
/php-src/sapi/phpdbg/tests/
H A Dwatch_006.phpt35 Old value: 0
36 New value: 1
41 Old value:
42 New value (reference): Array ([0] => 1)
47 Old value: 1
48 New value: 2
59 Old value inaccessible or destroyed
60 New value (reference): Array ([0] => 2,[1] => 3)
64 Old value inaccessible or destroyed
65 New value (reference): Array ([0] => 1)
/php-src/ext/xmlreader/tests/
H A D003.phpt24 echo $reader->value . "\n";
26 if ($reader->getAttribute($reader->name) == $reader->value) {
33 echo $reader->value . "\n";
35 if ($reader->getAttribute($reader->name) == $reader->value) {
42 echo $reader->value . "\n";
44 if ($reader->getAttribute('num') == $reader->value) {
50 echo $reader->value . "\n";
52 if ($reader->getAttribute('idx') == $reader->value) {
59 echo $reader->value . "\n";
61 if ($reader->getAttributeNo(0) == $reader->value) {
[all …]
/php-src/tests/classes/
H A Dconstants_basic_004.phpt15 const VALUE = "value";
48 string(5) "value"
52 string(5) "value"
56 string(5) "value"
60 string(5) "value"
64 string(5) "value"
72 string(5) "value"
79 string(5) "value"
86 string(5) "value"
91 string(5) "value"
[all …]
H A Dunset_properties.phpt20 public function __set($name, $value)
22 $this->$name = $value;
23 echo '__set "' . $name . '" to "' . $value . '"';
86 echo $o->setPublicProperty('new publicProperty value via setter');
91 $o->publicProperty = 'new publicProperty value via public access';
135 __set "publicProperty" to "new publicProperty value via setter"
136 new publicProperty value via setter
139 new publicProperty value via public access
146 new protectedProperty value via setter
151 __set "privateProperty" to "new privateProperty value via setter"
[all …]
/php-src/ext/standard/
H A Dmath.c167 if (!zend_finite(value) || value == 0.0) { in _php_math_round()
168 return value; in _php_math_round()
208 return value; in _php_math_round()
246 zval *value; in PHP_FUNCTION() local
257 RETURN_LONG(Z_LVAL_P(value) < 0 ? -Z_LVAL_P(value) : Z_LVAL_P(value)); in PHP_FUNCTION()
269 zval *value; in PHP_FUNCTION() local
288 zval *value; in PHP_FUNCTION() local
307 zval *value; in PHP_FUNCTION() local
852 value = arg; in _php_math_longtobase()
860 value /= base; in _php_math_longtobase()
[all …]
/php-src/Zend/tests/numeric_strings/
H A Dinvalid_numeric_strings_must_generate_warning.phpt116 Warning: A non-numeric value encountered in %s on line %d
118 Warning: A non-numeric value encountered in %s on line %d
123 Warning: A non-numeric value encountered in %s on line %d
125 Warning: A non-numeric value encountered in %s on line %d
130 Warning: A non-numeric value encountered in %s on line %d
132 Warning: A non-numeric value encountered in %s on line %d
137 Warning: A non-numeric value encountered in %s on line %d
139 Warning: A non-numeric value encountered in %s on line %d
144 Warning: A non-numeric value encountered in %s on line %d
146 Warning: A non-numeric value encountered in %s on line %d
[all …]
/php-src/ext/libxml/
H A Dmime_sniff.c86 zend_string *value = zend_string_alloc(end - position /* can't be longer than this */, false); in collect_an_http_quoted_string_with_extract_value() local
87 ZSTR_LEN(value) = 0; in collect_an_http_quoted_string_with_extract_value()
99 memcpy(ZSTR_VAL(value) + ZSTR_LEN(value), position, length); in collect_an_http_quoted_string_with_extract_value()
100 ZSTR_LEN(value) += length; in collect_an_http_quoted_string_with_extract_value()
118 ZSTR_VAL(value)[ZSTR_LEN(value)] = '\\'; in collect_an_http_quoted_string_with_extract_value() local
119 ZSTR_LEN(value)++; in collect_an_http_quoted_string_with_extract_value()
124 ZSTR_VAL(value)[ZSTR_LEN(value)] = *position; in collect_an_http_quoted_string_with_extract_value() local
125 ZSTR_LEN(value)++; in collect_an_http_quoted_string_with_extract_value()
136 ZSTR_VAL(value)[ZSTR_LEN(value)] = '\0'; in collect_an_http_quoted_string_with_extract_value() local
142 return value; in collect_an_http_quoted_string_with_extract_value()
/php-src/sapi/fpm/fpm/
H A Dfpm_env.c25 int setenv(char *name, char *value, int clobber) /* {{{ */ in setenv() argument
38 sprintf(cp, "%s=%s", name, value); in setenv()
46 int value_len = strlen(value); in setenv()
53 memcpy(var + name_len + 1, value, value_len); in setenv()
150 setenv(kv->key, kv->value, 1); in fpm_env_init_child()
170 if (*kv->value == '$') { in fpm_env_conf_wp()
171 char *value = getenv(kv->value + 1); in fpm_env_conf_wp() local
173 if (!value) { in fpm_env_conf_wp()
174 value = ""; in fpm_env_conf_wp()
177 free(kv->value); in fpm_env_conf_wp()
[all …]
/php-src/ext/intl/tests/
H A Dgh7734.phpt11 foreach ($iter->getPartsIterator(\IntlPartsIterator::KEY_SEQUENTIAL) as $key => $value) {
12 var_dump($key, $value);
15 foreach ($iter->getPartsIterator(\IntlPartsIterator::KEY_LEFT) as $key => $value) {
16 var_dump($key, $value);
19 foreach ($iter->getPartsIterator(\IntlPartsIterator::KEY_RIGHT) as $key => $value) {
20 var_dump($key, $value);
/php-src/ext/dom/lexbor/lexbor/dom/interfaces/
H A Dnode.c807 cb_ctx.value = value; in lxb_dom_node_by_attr()
843 cb_ctx.value = value; in lxb_dom_node_by_attr_begin()
879 cb_ctx.value = value; in lxb_dom_node_by_attr_end()
915 cb_ctx.value = value; in lxb_dom_node_by_attr_contain()
972 if (attr->value != NULL && ctx->value_length == attr->value->length in lxb_dom_node_by_attr_cmp_full()
973 && lexbor_str_data_ncmp(attr->value->data, ctx->value, in lxb_dom_node_by_attr_cmp_full()
986 if (attr->value != NULL && ctx->value_length == attr->value->length in lxb_dom_node_by_attr_cmp_full_case()
987 && lexbor_str_data_ncasecmp(attr->value->data, ctx->value, in lxb_dom_node_by_attr_cmp_full_case()
999 if (attr->value != NULL && ctx->value_length <= attr->value->length in lxb_dom_node_by_attr_cmp_begin()
1000 && lexbor_str_data_ncmp(attr->value->data, ctx->value, in lxb_dom_node_by_attr_cmp_begin()
[all …]
/php-src/ext/ffi/tests/
H A Dgh7867.phpt9 $value = FFI::cdef()->new('char[26]');
10 FFI::memcpy($value, implode('', range('a', 'z')), 26);
15 FFI::memcpy($slice, $value, 4);
16 var_dump($value + 0, $slice, FFI::cdef()->cast('char[4]', $value));
20 FFI::memcpy($slice, $value + 4, 4);
21 var_dump($value + 4, $slice, FFI::cdef()->cast('char[4]', $value + 4));
/php-src/ext/tidy/tests/
H A D012.phpt36 ["value"]=>
59 ["value"]=>
83 ["value"]=>
104 ["value"]=>
132 ["value"]=>
263 ["value"]=>
306 ["value"]=>
326 ["value"]=>
412 ["value"]=>
432 ["value"]=>
[all …]
/php-src/ext/intl/collator/
H A Dcollator_attr.c29 zend_long attribute, value; in PHP_FUNCTION() local
43 value = ucol_getAttribute( co->ucoll, attribute, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
46 RETURN_LONG( value ); in PHP_FUNCTION()
53 zend_long attribute, value; in PHP_FUNCTION() local
59 &object, Collator_ce_ptr, &attribute, &value ) == FAILURE) in PHP_FUNCTION()
68 ucol_setAttribute( co->ucoll, attribute, value, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
/php-src/ext/zend_test/
H A Dfiber.c33 if (value) { in zend_test_fiber_switch_to()
34 ZVAL_COPY(&transfer.value, value); in zend_test_fiber_switch_to()
36 ZVAL_NULL(&transfer.value); in zend_test_fiber_switch_to()
190 zval_ptr_dtor(&transfer.value); in zend_test_fiber_object_destroy()
222 zval_ptr_dtor(&transfer->value); in delegate_transfer_result()
226 RETURN_COPY_VALUE(&transfer->value); in delegate_transfer_result()
274 zval *value = NULL; in ZEND_METHOD() local
278 Z_PARAM_ZVAL(value); in ZEND_METHOD()
289 zval_ptr_dtor(&transfer.value); in ZEND_METHOD()
300 zval *value = NULL; in ZEND_METHOD() local
[all …]

Completed in 61 milliseconds

12345678910>>...97