Home
last modified time | relevance | path

Searched refs:value (Results 176 – 200 of 2171) sorted by relevance

12345678910>>...87

/PHP-7.0/ext/gd/tests/
H A Dimagecolorallocate_variation6.phpt32 foreach($values as $key => $value) {
34 //Need to be created every time to get expected return value
37 var_dump( imagecolorallocate($im_palette, $value, $value, $value) );
38 var_dump( imagecolorallocate($im_true_color, $value, $value, $value) );
/PHP-7.0/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.0/ext/imap/tests/
H A Dimap_fetch_overview_variation1.phpt90 echo "\n-- Testing with first argument value: ";
100 -- Testing with first argument value: int(0)
105 -- Testing with first argument value: int(1)
110 -- Testing with first argument value: int(12345)
115 -- Testing with first argument value: int(-2345)
140 -- Testing with first argument value: float(0.5)
145 -- Testing with first argument value: NULL
150 -- Testing with first argument value: NULL
155 -- Testing with first argument value: bool(true)
212 -- Testing with first argument value: NULL
[all …]
/PHP-7.0/Zend/tests/type_declarations/
H A Dscalar_return_basic.phpt52 foreach ($values as $value) {
54 var_dump($value);
56 var_dump($function($value));
76 E_NOTICE: A non well formed numeric value encountered on line %d
85 *** Caught Return value of {closure}() must be of the type integer, float returned in %s on line %d
91 *** Caught Return value of {closure}() must be of the type integer, null returned in %s on line %d
94 *** Caught Return value of {closure}() must be of the type integer, array returned in %s on line %d
114 E_NOTICE: A non well formed numeric value encountered on line %d
117 *** Caught Return value of {closure}() must be of the type float, string returned in %s on line %d
129 *** Caught Return value of {closure}() must be of the 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));
76 E_NOTICE: A non well formed numeric value encountered on line %d
79 *** Caught Return value of {closure}() must be of the type integer, string returned in %s on line %d
85 *** Caught Return value of {closure}() must be of the type integer, float returned in %s on line %d
91 *** Caught Return value of {closure}() must be of the type integer, null returned in %s on line %d
114 E_NOTICE: A non well formed numeric value encountered on line %d
117 *** Caught Return value of {closure}() must be of the type float, string returned in %s on line %d
129 *** Caught Return value of {closure}() must be of the type float, null returned in %s on line %d
[all …]
/PHP-7.0/ext/xmlrpc/tests/
H A D001.phpt21 <value>
23 </value>
33 <value>
35 </value>
48 <value>
50 </value>
/PHP-7.0/sapi/phpdbg/tests/
H A Dwatch_001.phpt21 Old value:
22 New value: Array ([0] => 1)
27 Old value inaccessible or destroyed
28 New value:
32 Old value:
33 New value: 2
/PHP-7.0/ext/pcre/tests/
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
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
22 var_dump(preg_replace($regex, $value, $subject));
28 Arg value is: this is a string
31 Arg value is: Array
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.0/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.0/ext/standard/tests/array/
H A Drsort_variation8.phpt39 echo "\n-- 'flag' value is default --\n";
44 echo "\n-- 'flag' value is SORT_REGULAR --\n";
59 -- 'flag' value is default --
64 -- 'flag' value is SORT_REGULAR --
71 -- 'flag' value is default --
79 -- 'flag' value is SORT_REGULAR --
89 -- 'flag' value is default --
105 -- 'flag' value is SORT_REGULAR --
123 -- 'flag' value is default --
152 -- '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 Deach_variation3.phpt114 ["value"]=>
126 ["value"]=>
138 ["value"]=>
150 ["value"]=>
162 ["value"]=>
174 ["value"]=>
186 ["value"]=>
198 ["value"]=>
210 ["value"]=>
222 ["value"]=>
[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 --
/PHP-7.0/sapi/fpm/fpm/
H A Dfpm_php.c40 ini_entry->value = duplicate; in fpm_php_zend_ini_alter_master()
50 static void fpm_php_disable(char *value, int (*zend_disable)(char *, size_t)) /* {{{ */ in fpm_php_disable() argument
52 char *s = 0, *e = value; in fpm_php_disable()
83 char *value = kv->value; in fpm_php_apply_defines_ex() local
85 int value_len = strlen(value); in fpm_php_apply_defines_ex()
87 if (!strcmp(name, "extension") && *value) { in fpm_php_apply_defines_ex()
89 php_dl(value, MODULE_PERSISTENT, &zv, 1); in fpm_php_apply_defines_ex()
97 if (!strcmp(name, "disable_functions") && *value) { in fpm_php_apply_defines_ex()
98 char *v = strdup(value); in fpm_php_apply_defines_ex()
104 if (!strcmp(name, "disable_classes") && *value) { in fpm_php_apply_defines_ex()
[all …]
/PHP-7.0/ext/standard/
H A Dhead.c97 if (!url_encode && value && in php_setcookie()
104 if (value) { in php_setcookie()
106 encoded_value = php_url_encode(ZSTR_VAL(value), ZSTR_LEN(value)); in php_setcookie()
109 encoded_value = zend_string_copy(value); in php_setcookie()
123 if (value == NULL || ZSTR_LEN(value) == 0) { in php_setcookie()
196 zend_string *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
201 &name, &value, &expires, &path, &domain, &secure, &httponly) == FAILURE) { in PHP_FUNCTION()
205 if (php_setcookie(name, value, expires, path, domain, secure, 1, httponly) == SUCCESS) { in PHP_FUNCTION()
217 zend_string *name, *value = NULL, *path = NULL, *domain = NULL; in PHP_FUNCTION() local
222 &name, &value, &expires, &path, &domain, &secure, &httponly) == FAILURE) { in PHP_FUNCTION()
[all …]
/PHP-7.0/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.0/Zend/tests/
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) {
/PHP-7.0/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.0/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 26 milliseconds

12345678910>>...87