Home
last modified time | relevance | path

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

12345678910>>...94

/PHP-8.3/ext/pcre/tests/
H A Dpreg_match_error2.phpt12 foreach($input as $value) {
13 @print "\nArg value is: $value\n";
15 var_dump(preg_match($regex, $value));
20 $value = new stdclass(); //Object
22 var_dump(preg_match($regex, $value));
31 Arg value is: this is a string
34 Arg value is: Array
H A Dpreg_replace_error2.phpt15 foreach($replace as $value) {
16 @print "\nArg value is: $value\n";
18 var_dump(preg_replace($regex, $value, $subject));
23 $value = new stdclass(); //Object
25 var_dump(preg_replace($regex, $value, $subject));
34 Arg value is: this is a string
37 Arg value is: Array
/PHP-8.3/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-8.3/Zend/tests/enum/
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-8.3/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-8.3/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-8.3/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-8.3/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-8.3/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-8.3/ext/oci8/tests/
H A Dconn_attr_1.phpt71 The value of MODULE is %s
72 The value of ACTION is
73 The value of CLIENT_INFO is
74 The value of CLIENT_IDENTIFIER is
78 The value of MODULE is PHP TEST1
80 The value of ACTION is TASK1
82 The value of CLIENT_INFO is INFO11
87 The value of MODULE is PHP TEST2
89 The value of ACTION is TASK2
96 The value of MODULE is PHP TEST3
[all …]
/PHP-8.3/ext/standard/tests/array/
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-8.3/ext/dom/tests/
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-8.3/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-8.3/ext/spl/tests/
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-8.3/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-8.3/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-8.3/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 …]
/PHP-8.3/Zend/tests/type_declarations/
H A Dscalar_return_basic.phpt52 foreach ($values as $value) {
54 var_dump($value);
56 var_dump($function($value));
77 *** Caught {closure}(): Return value must be of type int, string returned in %s on line %d
79 *** Caught {closure}(): Return value must be of type int, string returned in %s on line %d
81 *** Caught {closure}(): Return value must be of type int, string returned in %s on line %d
85 *** Caught {closure}(): Return value must be of type int, float returned in %s on line %d
91 *** Caught {closure}(): Return value must be of type int, null returned in %s on line %d
94 *** Caught {closure}(): Return value must be of type int, array returned in %s on line %d
128 *** Caught {closure}(): Return value must be of type float, null returned in %s on line %d
[all …]
H A Dscalar_return_basic_64bit.phpt52 foreach ($values as $value) {
54 var_dump($value);
56 var_dump($function($value));
77 *** Caught {closure}(): Return value must be of type int, string returned in %s on line %d
79 *** Caught {closure}(): Return value must be of type int, string returned in %s on line %d
81 *** Caught {closure}(): Return value must be of type int, string returned in %s on line %d
85 *** Caught {closure}(): Return value must be of type int, float returned in %s on line %d
91 *** Caught {closure}(): Return value must be of type int, null returned in %s on line %d
94 *** Caught {closure}(): Return value must be of type int, array returned in %s on line %d
128 *** Caught {closure}(): Return value must be of type float, null returned in %s on line %d
[all …]
/PHP-8.3/ext/opcache/tests/jit/
H A Dgh15652.phpt15 return $type instanceof self && $this->value === $type->value;
21 public function __construct(private int $value) {}
38 Warning: Undefined property: C2::$value in %sgh15652.php on line 6
40 Warning: Undefined property: C2::$value in %sgh15652.php on line 6
43 Warning: Undefined property: C2::$value in %sgh15652.php on line 6
45 Warning: Undefined property: C2::$value in %sgh15652.php on line 6
/PHP-8.3/ext/soap/tests/interop/Round4/GroupH/
H A Dr4_groupH_simple_doclit_003w.phpt18 …se"><SOAP-ENV:Body><ns2:echoIntArrayFaultRequest><ns1:value>34</ns1:value><ns1:value>12</ns1:value
20 …Fault'.</faultstring><detail><ns2:ArrayOfIntPart><ns1:value>34</ns1:value><ns1:value>12</ns1:value

Completed in 37 milliseconds

12345678910>>...94