/php-src/ext/dom/tests/ |
H A D | bug80602_3.phpt | 52 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 D | bug80332_1.phpt | 25 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 D | DOMNamedNodeMap_string_references.phpt | 13 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 D | RecursiveCallbackFilterIterator_trampoline_usage.phpt | 6 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 D | bug50579.phpt | 17 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 D | rsort_variation7.phpt | 11 // 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 D | rsort_variation8.phpt | 34 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 D | arsort_object1.phpt | 7 * 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 D | sort_variation11.phpt | 6 * 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 D | no-write-properties-through-references.phpt | 12 $value = &$bar->value; 13 $value = 1; 18 var_dump(Foo::Bar->value); 22 Cannot modify readonly property Foo::$value
|
H A D | no-return-properties-by-ref.phpt | 12 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 D | watch_006.phpt | 35 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 D | 003.phpt | 24 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 D | constants_basic_004.phpt | 15 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 D | unset_properties.phpt | 20 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 D | math.c | 167 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 D | invalid_numeric_strings_must_generate_warning.phpt | 116 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 D | mime_sniff.c | 86 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 D | fpm_env.c | 25 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 D | gh7734.phpt | 11 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 D | node.c | 807 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 D | gh7867.phpt | 9 $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 D | 012.phpt | 36 ["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 D | collator_attr.c | 29 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 D | fiber.c | 33 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 …]
|