Home
last modified time | relevance | path

Searched refs:value (Results 101 – 125 of 2016) sorted by relevance

12345678910>>...81

/PHP-7.4/Zend/tests/
H A Dindexing_001.phpt5 echo "*** Indexing - Testing value assignment with key ***\n";
21 echo "*** Indexing - Testing value assignment no key ***\n";
42 *** Indexing - Testing value assignment with key ***
51 Warning: Cannot use a scalar value as an array in %s on line %d
54 Warning: Cannot use a scalar value as an array in %s on line %d
57 Warning: Cannot use a scalar value as an array in %s on line %d
77 Warning: Cannot use a scalar value as an array in %s on line %d
96 Warning: Cannot use a scalar value as an array in %s on line %d
99 Warning: Cannot use a scalar value as an array in %s on line %d
102 Warning: Cannot use a scalar value as an array in %s on line %d
[all …]
/PHP-7.4/ext/pcre/tests/
H A Dpreg_grep_error1.phpt21 foreach($values as $value) {
22 print "\nArg value is $value\n";
23 var_dump(preg_grep($value, $array));
25 $value = new stdclass(); //Object
26 var_dump(preg_grep($value, $array));
32 Arg value is abcdef
37 Arg value is /[a-zA-Z]
42 Arg value is [a-zA-Z]/
47 Arg value is /[a-zA-Z]/F
52 Arg value is Array
[all …]
H A Dpreg_match_error2.phpt16 foreach($input as $value) {
17 print "\nArg value is: $value\n";
18 var_dump(preg_match($regex, $value));
20 $value = new stdclass(); //Object
21 var_dump(preg_match($regex, $value));
27 Arg value is: this is a string
30 Arg value is: Array
H A Dpreg_replace_error2.phpt17 foreach($replace as $value) {
18 print "\nArg value is: $value\n";
19 var_dump(preg_replace($regex, $value, $subject));
21 $value = new stdclass(); //Object
23 var_dump(preg_replace($regex, $value, $subject));
32 Arg value is: this is a string
35 Arg value is: Array
H A Dpreg_match_all_error2.phpt15 $value = new stdclass(); //Object
16 var_dump(preg_match_all($regex, $value, $matches));
19 foreach($input as $value) {
20 print "\nArg value is: $value\n";
21 var_dump(preg_match_all($regex, $value, $matches));
33 Arg value is: Array
39 Arg value is: test
/PHP-7.4/ext/standard/tests/array/
H A Darsort_variation6.phpt13 * flag value as defualt
26 echo "\n-- Testing arsort() by supplying hexadecimal value array, 'flag' value is defualt --\n";
31 echo "\n-- Testing arsort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --\…
36 echo "\n-- Testing arsort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --\…
46 -- Testing arsort() by supplying hexadecimal value array, 'flag' value is defualt --
69 -- Testing arsort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --
92 -- Testing arsort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --
H A Dasort_variation6.phpt13 * flag value as defualt
26 echo "\n-- Testing asort() by supplying hexadecimal value array, 'flag' value is defualt --\n";
31 echo "\n-- Testing asort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --\n…
36 echo "\n-- Testing asort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --\n…
46 -- Testing asort() by supplying hexadecimal value array, 'flag' value is defualt --
69 -- Testing asort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --
92 -- Testing asort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --
H A Dksort_variation6.phpt12 * 1.flag value as defualt
26 echo "\n-- Testing ksort() by supplying hexadecimal value array, 'flag' value is defualt --\n";
31 echo "\n-- Testing ksort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --\n…
36 echo "\n-- Testing ksort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --\n…
46 -- Testing ksort() by supplying hexadecimal value array, 'flag' value is defualt --
69 -- Testing ksort() by supplying hexadecimal value array, 'flag' value is SORT_REGULAR --
92 -- Testing ksort() by supplying hexadecimal value array, 'flag' value is SORT_NUMERIC --
H A Darray_map_variation1.phpt15 $arr = array("stringkey" => "value");
30 string(5) "value"
37 string(5) "value"
39 string(5) "value"
44 string(5) "value"
50 string(5) "value"
52 string(5) "value"
H A Drsort_variation7.phpt16 // bool value array
19 echo "\n-- 'flag' value is defualt --\n";
24 echo "\n-- 'flag' value is SORT_REGULAR --\n";
29 echo "\n-- 'flag' value is SORT_NUMERIC --\n";
34 echo "\n-- 'flag' value is SORT_STRING --\n";
44 -- 'flag' value is defualt --
57 -- 'flag' value is SORT_REGULAR --
70 -- 'flag' value is SORT_NUMERIC --
83 -- 'flag' value is SORT_STRING --
H A Darray_walk_variation6.phpt19 * Parameters : $value - value from key/value pair of the array
24 function for_numeric($value, $key, $user_data)
29 var_dump($value);
35 * Parameters : $value - values in given input array
37 * Description : Function appends key to the value
39 function for_string($value, $key)
44 var_dump($value);
48 /* Prototype : for_mixed( mixed $value, mixed $key)
49 * Parameters : $value - values in given input array
53 function for_mixed($value, $key)
[all …]
/PHP-7.4/ext/xmlrpc/tests/
H A D005.phpt23 <value>
25 </value>
31 <value>
33 </value>
39 <value>
41 </value>
H A Dbug74975.phpt39 <value>
43 <value>
45 </value>
49 <value>
51 </value>
54 </value>
H A D001.phpt21 <value>
23 </value>
33 <value>
35 </value>
48 <value>
50 </value>
/PHP-7.4/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-7.4/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-7.4/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-7.4/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-7.4/ext/pdo/
H A Dphp_pdo.h52 #define REGISTER_PDO_CLASS_CONST_LONG(const_name, value) \ argument
53 …lare_class_constant_long(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, (zend_long)value);
55 #define REGISTER_PDO_CLASS_CONST_STRING(const_name, value) \ argument
56 …s_constant_stringl(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, value, sizeof(value)-1);
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_env.c24 int setenv(char *name, char *value, int clobber) /* {{{ */ in setenv() argument
37 sprintf(cp, "%s=%s", name, value); in setenv()
45 int value_len = strlen(value); in setenv()
52 memcpy(var + name_len + 1, value, value_len); in setenv()
151 setenv(kv->key, kv->value, 1); in fpm_env_init_child()
171 if (*kv->value == '$') { in fpm_env_conf_wp()
172 char *value = getenv(kv->value + 1); in fpm_env_conf_wp() local
174 if (!value) { in fpm_env_conf_wp()
175 value = ""; in fpm_env_conf_wp()
178 free(kv->value); in fpm_env_conf_wp()
[all …]
/PHP-7.4/ext/oci8/tests/
H A Dconn_attr_1.phpt67 The value of MODULE is %s
68 The value of ACTION is
69 The value of CLIENT_INFO is
70 The value of CLIENT_IDENTIFIER is
74 The value of MODULE is PHP TEST1
76 The value of ACTION is TASK1
78 The value of CLIENT_INFO is INFO11
83 The value of MODULE is PHP TEST2
85 The value of ACTION is TASK2
92 The value of MODULE is PHP TEST3
[all …]
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_attr.c90 UChar* value = value_buf; in PHP_FUNCTION() local
106 …length = udat_toPattern(DATE_FORMAT_OBJECT(dfo), is_pattern_localized, value, length, &INTL_DATA_E… in PHP_FUNCTION()
110 value = eumalloc(length); in PHP_FUNCTION()
111 …length = udat_toPattern(DATE_FORMAT_OBJECT(dfo), is_pattern_localized, value, length, &INTL_DATA_E… in PHP_FUNCTION()
113 efree(value); in PHP_FUNCTION()
114 value = value_buf; in PHP_FUNCTION()
119 INTL_METHOD_RETVAL_UTF8( dfo, value, length, ( value != value_buf ) ); in PHP_FUNCTION()
130 char* value = NULL; in PHP_FUNCTION() local
141 &object, IntlDateFormatter_ce_ptr, &value, &value_len ) == FAILURE ) in PHP_FUNCTION()
151 intl_convert_utf8_to_utf16(&svalue, &slength, value, value_len, &INTL_DATA_ERROR_CODE(dfo)); in PHP_FUNCTION()
/PHP-7.4/ext/tidy/tests/
H A D012.phpt36 ["value"]=>
59 ["value"]=>
83 ["value"]=>
104 ["value"]=>
132 ["value"]=>
257 ["value"]=>
298 ["value"]=>
316 ["value"]=>
398 ["value"]=>
416 ["value"]=>
[all …]
/PHP-7.4/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 31 milliseconds

12345678910>>...81