Home
last modified time | relevance | path

Searched refs:value (Results 201 – 225 of 2314) sorted by relevance

12345678910>>...93

/PHP-7.2/ext/standard/tests/array/
H A Dsizeof_variation4.phpt60 foreach($values as $value)
65 unset($value);
69 var_dump( sizeof($value) );
73 var_dump( sizeof($value, COUNT_NORMAL) );
77 var_dump( sizeof($value, COUNT_RECURSIVE) );
92 Notice: Undefined variable: value in %s on line %d
98 Notice: Undefined variable: value in %s on line %d
104 Notice: Undefined variable: value in %s on line %d
111 Notice: Undefined variable: value in %s on line %d
117 Notice: Undefined variable: value in %s on line %d
[all …]
H A Drsort_variation8.phpt39 echo "\n-- 'flag' value is default --\n";
44 echo "\n-- 'flag' value is SORT_REGULAR --\n";
58 -- 'flag' value is default --
63 -- 'flag' value is SORT_REGULAR --
70 -- 'flag' value is default --
78 -- 'flag' value is SORT_REGULAR --
88 -- 'flag' value is default --
104 -- 'flag' value is SORT_REGULAR --
122 -- 'flag' value is default --
151 -- 'flag' value is SORT_REGULAR --
H A Darray_walk_recursive_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 …]
H A Dsort_variation11.phpt12 * testing sort() by providing mixed value array for $array argument with following flag values.
13 * flag value as defualt
19 // mixed value array
27 echo "\n-- Testing sort() by supplying mixed value array, 'flag' value is defualt --\n";
32 echo "\n-- Testing sort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
42 -- Testing sort() by supplying mixed value array, 'flag' value is defualt --
117 -- Testing sort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Dasort_object1.phpt13 * 1. Defualt flag value
23 // initializing object member value
24 function __construct($value){
25 $this->class_value = $value;
34 // initializing object member value
35 function __construct($value){
36 $this->class_value = $value;
39 // return string value
41 return (string)$this->value;
69 // testing asort() function by supplying string object array, flag value is defualt
[all …]
H A Dkrsort_object.phpt11 * 1.Defualt flag value
21 // initializing object member value
22 function __construct($value){
23 $this->class_value = $value;
31 // initializing object member value
32 function __construct($value){
33 $this->class_value = $value;
36 // return string value
38 return (string)$this->value;
66 // testing krsort() function by supplying string object array, flag value is defualt
[all …]
H A Dsort_object1.phpt20 // initializing object member value
21 function __construct($value){
22 $this->class_value = $value;
31 // initializing object member value
32 function __construct($value){
33 $this->class_value = $value;
36 // return string value
38 return (string)$this->value;
61 // testing sort() function by supplying integer object array, flag value is defualt
66 // testing sort() function by supplying string object array, flag value is defualt
[all …]
H A Darsort_variation11.phpt12 * testing arsort() by providing mixed value array for $array argument with following flag values.
13 * 1.flag value as default
19 // mixed value array with different key values
31 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is default --\n";
36 echo "\n-- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
46 -- Testing arsort() by supplying mixed value array, 'flag' value is default --
103 -- Testing arsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Dasort_variation11.phpt12 * testing asort() by providing mixed value array for $array argument with following flag values.
13 * 1.flag value as default
19 // mixed value array with different key values
31 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is default --\n";
36 echo "\n-- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
46 -- Testing asort() by supplying mixed value array, 'flag' value is default --
103 -- Testing asort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Darray_walk_recursive.phpt5 function foo($value) {
6 echo $value . " foo\n";
9 function bar($value) {
10 echo $value . " bar\n";
H A Dbug69068_2.phpt8 array_walk($array, function(&$value, $key) use ($array2) {
9 var_dump($value);
10 if ($value == 2) {
13 $value *= 10;
/PHP-7.2/ext/reflection/tests/
H A DReflectionParameter_canBePassedByValue.phpt13 echo "Can be passed by value: ", $parameter->canBePassedByValue()?"yes":"no", "\n";
42 Can be passed by value: yes
46 Can be passed by value: yes
50 Can be passed by value: yes
54 Can be passed by value: yes
60 Can be passed by value: no
64 Can be passed by value: yes
70 Can be passed by value: no
74 Can be passed by value: yes
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_php.c39 ini_entry->value = duplicate; in fpm_php_zend_ini_alter_master()
52 static void fpm_php_disable(char *value, int (*zend_disable)(char *, size_t)) /* {{{ */ in fpm_php_disable() argument
54 char *s = 0, *e = value; in fpm_php_disable()
85 char *value = kv->value; in fpm_php_apply_defines_ex() local
87 int value_len = strlen(value); in fpm_php_apply_defines_ex()
89 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex()
91 php_dl(value, MODULE_PERSISTENT, &zv, 1); in fpm_php_apply_defines_ex()
99 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex()
100 char *v = strdup(value); in fpm_php_apply_defines_ex()
106 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex()
[all …]
/PHP-7.2/ext/pcre/tests/
H A Dpreg_split_error2.phpt16 foreach($input as $value) {
17 print "\nArg value is: $value\n";
18 var_dump(preg_split($regex, $value));
20 $value = new stdclass(); //Object
21 var_dump(preg_split($regex, $value));
27 Arg value is: Array
/PHP-7.2/ext/intl/collator/
H A Dcollator_attr.c36 zend_long attribute, value; in PHP_FUNCTION() local
53 value = ucol_getAttribute( co->ucoll, attribute, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
56 RETURN_LONG( value ); in PHP_FUNCTION()
67 zend_long attribute, value; in PHP_FUNCTION() local
73 &object, Collator_ce_ptr, &attribute, &value ) == FAILURE) in PHP_FUNCTION()
85 ucol_setAttribute( co->ucoll, attribute, value, COLLATOR_ERROR_CODE_P( co ) ); in PHP_FUNCTION()
/PHP-7.2/tests/lang/
H A Dbug28800.phpt11 Warning: A non-numeric value encountered in %s on line %d
14 Warning: A non-numeric value encountered in %s on line %d
17 Warning: A non-numeric value encountered in %s on line %d
20 Warning: A non-numeric value encountered in %s on line %d
23 Warning: A non-numeric value encountered in %s on line %d
26 Warning: A non-numeric value encountered in %s on line %d
/PHP-7.2/Zend/tests/
H A Dlist_keyed_evaluation_order_nested.phpt15 "A" => "offset value for A",
17 0 => "offset value for 0",
18 1 => "offset value for 1"
21 "G" => "offset value for G",
22 "I" => "offset value for I"
63 Offset B set to offset value for A.
67 Offset D set to offset value for 0.
69 Offset E set to offset value for 1.
74 Offset H set to offset value for G.
77 Offset J set to offset value for I.
H A Dbug45744.phpt10 private function callback($value) {
11 if (!is_array($value)) {
12 return stripslashes($value);
14 return array_map(array($this, 'callback'), $value);
28 private function callBack($value) {
H A Dcall_user_func_008.phpt28 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
30 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
35 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
37 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
42 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
44 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
49 Warning: Parameter 1 to test() expected to be a reference, value given in %s on line %d
51 Warning: Parameter 2 to test() expected to be a reference, value given in %s on line %d
/PHP-7.2/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
/PHP-7.2/tests/lang/operators/
H A Dnegate_variationStr.phpt32 Warning: A non-numeric value encountered in %s on line %d
36 Notice: A non well formed numeric value encountered in %s on line %d
42 Notice: A non well formed numeric value encountered in %s on line %d
46 Notice: A non well formed numeric value encountered in %s on line %d
50 Notice: A non well formed numeric value encountered in %s on line %d
54 Notice: A non well formed numeric value encountered in %s on line %d
58 Notice: A non well formed numeric value encountered in %s on line %d
62 Warning: A non-numeric value encountered in %s on line %d
/PHP-7.2/ext/pdo_dblib/tests/
H A Dpdo_dblib_param_str_natl.phpt12 $stmt = $db->prepare('SELECT :value');
13 $stmt->bindValue(':value', 'foo', PDO::PARAM_STR | PDO::PARAM_STR_NATL);
19 SQL: [13] SELECT :value
22 Key: Name: [6] :value
24 name=[6] ":value"
/PHP-7.2/ext/pdo_oci/tests/
H A Dpdo_oci_class_constants.phpt25 foreach ($constants as $name => $value) {
27 if (!isset($values[$value])) {
28 $values[$value] = [$name];
30 $values[$value][] = $name;
54 foreach ($values as $value => $constants) {
56 printf("[003] Several constants share the same value '%s'\n", $value);
/PHP-7.2/ext/standard/
H A Dhead.c101 if (!url_encode && value && in php_setcookie()
108 if (value) { in php_setcookie()
110 encoded_value = php_url_encode(ZSTR_VAL(value), ZSTR_LEN(value)); in php_setcookie()
113 encoded_value = zend_string_copy(value); in php_setcookie()
127 if (value == NULL || ZSTR_LEN(value) == 0) { in php_setcookie()
200 zend_string *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
207 Z_PARAM_STR(value) in PHP_FUNCTION()
215 if (php_setcookie(name, value, expires, path, domain, secure, 1, httponly) == SUCCESS) { in PHP_FUNCTION()
227 zend_string *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
234 Z_PARAM_STR(value) in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/pdo/
H A Dphp_pdo.h64 #define REGISTER_PDO_CLASS_CONST_LONG(const_name, value) \ argument
65 …lare_class_constant_long(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, (zend_long)value);
67 #define REGISTER_PDO_CLASS_CONST_STRING(const_name, value) \ argument
68 …s_constant_stringl(php_pdo_get_dbh_ce(), const_name, sizeof(const_name)-1, value, sizeof(value)-1);

Completed in 44 milliseconds

12345678910>>...93