Home
last modified time | relevance | path

Searched refs:value (Results 226 – 250 of 2314) sorted by relevance

12345678910>>...93

/PHP-7.2/ext/spl/tests/
H A DarrayObject_setIteratorClass_error1.phpt8 foreach($ao as $key=>$value) {
9 echo " $key=>$value\n";
18 foreach($ao as $key=>$value) {
19 echo " $key=>$value\n";
28 foreach($ao as $key=>$value) {
29 echo " $key=>$value\n";
37 foreach($ao as $key=>$value) {
38 echo " $key=>$value\n";
H A Dmultiple_iterator_001.phpt13 foreach($m as $value) {
14 var_dump($value);
26 foreach($m as $key => $value) {
27 var_dump($key, $value);
45 foreach($m as $key => $value) {
46 var_dump($key, $value);
54 foreach($m as $key => $value) {
55 var_dump($key, $value);
74 foreach($m as $key => $value) {
75 var_dump($key, $value);
[all …]
/PHP-7.2/tests/lang/
H A DreturnByReference.003.phpt17 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
24 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
31 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
40 ---> 1. Trying to assign by reference the return value of a function that returns by value:
46 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
52 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.004.phpt19 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
26 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
33 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
42 ---> 1. Trying to assign by reference the return value of a function that returns by value:
48 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
54 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
H A DreturnByReference.005.phpt20 echo "\n---> 1. Trying to assign by reference the return value of a function that returns by value:…
27 echo "\n---> 2. Trying to assign by reference the return value of a function that returns a constan…
34 echo "\n---> 3. Trying to assign by reference the return value of a function that returns by ref:\n…
43 ---> 1. Trying to assign by reference the return value of a function that returns by value:
49 ---> 2. Trying to assign by reference the return value of a function that returns a constant by ref:
55 ---> 3. Trying to assign by reference the return value of a function that returns by ref:
/PHP-7.2/ext/spl/examples/
H A Ddbaarray.inc48 * @return value associated with $name
67 * @param $value value to write
69 function offsetSet($name, $value)
71 //dba_replace($name, serialize($value), $this->db);
72 dba_replace($name, $value, $this->db);
73 return $value;
85 * Delete a key/value pair.
/PHP-7.2/ext/standard/tests/strings/
H A Dstr_replace_variation2.phpt71 -- String after replacing the search value is => --
78 -- String after replacing the search value is => --
85 -- String after replacing the search value is => --
92 -- String after replacing the search value is => --
99 -- String after replacing the search value is => --
106 -- String after replacing the search value is => --
113 -- String after replacing the search value is => --
120 -- String after replacing the search value is => --
127 -- String after replacing the search value is => --
134 -- String after replacing the search value is => --
[all …]
/PHP-7.2/ext/standard/tests/array/
H A Dksort_object.phpt21 // initializing object member value
22 function __construct($value){
23 $this->class_value = $value;
32 // initializing object member value
33 function __construct($value){
34 $this->class_value = $value;
37 // return string value
39 return (string)$this->value;
60 // testing ksort() function by supplying integer object array, flag value is defualt
65 // testing ksort() function by supplying string object array, flag value is defualt
[all …]
H A Dksort_variation8.phpt12 * 1.flag value as defualt
18 // mixed value array with different key values
30 echo "\n-- Testing ksort() by supplying mixed value array, 'flag' value is defualt --\n";
35 echo "\n-- Testing ksort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
45 -- Testing ksort() by supplying mixed value array, 'flag' value is defualt --
102 -- Testing ksort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Deach_variation3.phpt115 ["value"]=>
127 ["value"]=>
139 ["value"]=>
151 ["value"]=>
163 ["value"]=>
175 ["value"]=>
187 ["value"]=>
199 ["value"]=>
211 ["value"]=>
223 ["value"]=>
[all …]
H A Darsort_object2.phpt13 * 1. Defualt flag value
25 // initializing object member value
40 // initializing object member value
47 // return string value
49 return (string)$this->value;
66 echo "\n-- Testing arsort() by supplying various object arrays, 'flag' value is default --\n";
68 // testing arsort() function by supplying integer object array, flag value is default
73 // testing arsort() function by supplying string object array, flag value is default
78 echo "\n-- Testing arsort() by supplying various object arrays, 'flag' value is SORT_REGULAR --\n";
79 // testing arsort() function by supplying integer object array, flag value = SORT_REGULAR
[all …]
H A Dkrsort_variation8.phpt13 * 1.flag value as defualt
19 // mixed value array with different key values
31 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is defualt --\n";
36 echo "\n-- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --\n";
46 -- Testing krsort() by supplying mixed value array, 'flag' value is defualt --
103 -- Testing krsort() by supplying mixed value array, 'flag' value is SORT_REGULAR --
H A Dbug77135.phpt31 $array = ["this" => "value"];
64 $v_this = value
67 $v_this = value
72 $v_this = value
75 $v_this = value
80 $v_this = value
83 $v_this = value
/PHP-7.2/ext/date/tests/
H A Dgmmktime_variation9.phpt29 foreach($inputs as $key =>$value) {
31 var_dump( gmmktime($value, $min, $sec, $mon, $day, $year) );
32 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) );
33 var_dump( gmmktime($hour, $min, $value, $mon, $day, $year) );
34 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) );
35 var_dump( gmmktime($hour, $min, $sec, $mon, $value, $value) );
H A Ddate_sunrise_variation7.phpt27 foreach($inputs as $timezone => $value) {
30 …ar_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
32 …ar_dump( date_sunrise($time, SUNFUNCS_RET_STRING, $value["Latitude"], $value["Longitude"], 90, $va…
/PHP-7.2/Zend/tests/
H A Dbug35509.phpt9 private $classArray = array( mytest::classConstant => 'value' );
20 $normalArray = array( normalConstant => 'value' );
26 [01] => value
30 [01] => value
/PHP-7.2/ext/imap/tests/
H A Dimap_fetch_overview_variation3.phpt41 echo "\nTesting with option value:";
61 Testing with option value:%string|unicode%(1) "1"
64 Testing with option value:bool(true)
67 Testing with option value:float(1)
70 Testing with option value:float(1)
73 Testing with option value:int(%d)
75 Warning: imap_fetch_overview(): invalid value for the options parameter in %s on line %d
77 Testing with option value:int(-%d)
79 Warning: imap_fetch_overview(): invalid value for the options parameter in %s on line %d
/PHP-7.2/Zend/tests/generators/
H A Dgenerator_method.phpt14 foreach ($this->data as $value) {
15 yield $value;
21 foreach ($test as $value) {
22 var_dump($value);
H A Dgenerator_method_by_ref.phpt18 foreach ($this->data as $key => &$value) {
19 yield $key => $value;
25 foreach ($test as &$value) {
26 $value *= -1;
/PHP-7.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_get_attribute.phpt25 function set_and_get($offset, $db, $attribute, $value) {
27 $value_type = gettype($value);
30 if (!$db->setAttribute($attribute, $value)) {
31 printf("[%03d] Cannot set attribute '%s' to value '%s'\n",
36 if (gettype($value) != $value_type) {
37 …tf("[%03d] Call to PDO::setAttribute(int attribute, mixed value) has changed the type of value fro…
38 $offset, $value_type, gettype($value));
43 if ($tmp !== $value) {
45 …$offset, $attribute, var_export($value, true), gettype($value), var_export($tmp, true), gettype($t…
H A Dpdo_mysql_stmt_blobs.phpt30 $value = str_repeat('a', $test_len);
33 $stmt->bindValue(2, $value);
51 if ($label !== $value) {
52 printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d characters). Check manually\n",
53 $offset, strlen($label), strlen($value));
58 printf("[%03d + 3] Returned id column value seems wrong, expecting 1 got %s.\n",
66 if ($ret['label'] !== $value) {
67 printf("[%03d + 3] Returned value seems to be wrong (%d vs. %d characters). Check manually\n",
68 $offset, strlen($ret['label']), strlen($value));
73 printf("[%03d + 3] Returned id column value seems wrong, expecting 1 got %s.\n",
/PHP-7.2/ext/readline/
H A Dreadline.c244 zval *value = NULL; in PHP_FUNCTION() local
277 if (value) { in PHP_FUNCTION()
294 if (value) { in PHP_FUNCTION()
295 convert_to_long_ex(value); in PHP_FUNCTION()
296 rl_done = Z_LVAL_P(value); in PHP_FUNCTION()
301 if (value) { in PHP_FUNCTION()
314 if (value) { in PHP_FUNCTION()
315 convert_to_long_ex(value); in PHP_FUNCTION()
326 if (value) { in PHP_FUNCTION()
334 if (value) { in PHP_FUNCTION()
[all …]
/PHP-7.2/ext/intl/tests/
H A Dbug59597_32.phpt10 $value = $formatter->parse('2147483647', \NumberFormatter::TYPE_INT32);
11 var_dump($value);
14 $value = $formatter->parse('2147483650', \NumberFormatter::TYPE_INT64);
15 var_dump($value);
H A Dbug59597_64.phpt10 $value = $formatter->parse('2147483647', \NumberFormatter::TYPE_INT32);
11 var_dump($value);
14 $value = $formatter->parse('2147483650', \NumberFormatter::TYPE_INT64);
15 var_dump($value);
/PHP-7.2/ext/mysqli/tests/
H A Dmysqli_fetch_assoc_bit.phpt57 $value = 0;
59 $value = $max_value;
64 $value = 0;
66 $value += mt_rand(0, $rand_max);
68 $value = mt_rand(0, $max_value);
72 $bin = ($bits < 32) ? decbin($value) : dec32bin($value, $bits);
73 $sql = sprintf("INSERT INTO test(id, bit_value) VALUES (%s, b'%s')", $value, $bin);
88 if (($value != $row['id']) || (($bin != $row['_bin']) && ($bin2 != $row['_bin']))) {
91 $bits, $value, $bits, $row['id'], $row['_bin'], $bin, $bin2);
94 if ($value != $row['bit_value']) {
[all …]

Completed in 56 milliseconds

12345678910>>...93