Home
last modified time | relevance | path

Searched refs:value (Results 326 – 350 of 2100) sorted by relevance

1...<<11121314151617181920>>...84

/PHP-5.5/ext/standard/tests/array/
H A Darray_walk_recursive_object1.phpt15 * Prototype : callback(mixed $value, mixed $key, int $addvalue
16 * Parameters : $value - values in given input array
18 * $addvalue - value to be added
22 function callback($value, $key, $user_data)
25 var_dump($value);
H A Darray_walk_variation4.phpt17 /* Prototype : callback(mixed $value, mixed $key)
18 * Parameters : $value - values in given 'input' array
22 function callback($value, $key)
27 var_dump($value); // value
H A Deach_variation5.phpt6 * Description: Return the currently pointed key..value pair in the passed array,
43 ["value"]=>
60 ["value"]=>
77 ["value"]=>
89 ["value"]=>
H A Darray_walk_closure.phpt20 $func = function($value, $key, &$udata) {
22 $udata["sum"] += $value;
32 $func = function($value, $key) use (&$user_data) {
34 $user_data["sum"] += $value;
45 $func = function($value, $key, &$udata) {
47 $udata->sum += $value;
57 function sum_it_up_object($value, $key, $udata)
60 $udata->sum += $value;
72 function sum_it_up_array($value, $key, $udata)
75 $udata['sum'] += $value;
H A Darray_walk_recursive_basic2.phpt17 * Parameters : item - value in key/value pair
18 * key - key in key/value pair
26 var_dump($item); // value
33 * Parameters : item - value in key/value pair
34 * key - key in key/value pair
41 var_dump($item); // value
H A Darray_walk_basic2.phpt17 * Parameters : item - value in key/value pair
18 * key - key in key/value pair
26 var_dump($item); // value
33 * Parameters : item - value in key/value pair
34 * key - key in key/value pair
41 var_dump($item); // value
H A Darray_walk_variation3.phpt17 * Prototype : print_value(mixed $value, int $key, int $count)
18 * Parameters : $value - array entries(values)
21 * Description : prints the array values with keys and count value
23 function print_value($value, $key, $count)
25 echo $count." : ".$key." ".$value."\n";
36 // float value
H A Dsort_object2.phpt24 // initializing object member value
38 // initializing object member value
45 // return string value
47 return (string)$this->value;
69 echo "\n-- Testing sort() by supplying various object arrays, 'flag' value is defualt --\n";
71 // testing sort() function by supplying integer object array, flag value is defualt
76 // testing sort() function by supplying string object array, flag value is defualt
82 // testing sort() function by supplying integer object array, flag value = SORT_REGULAR
87 // testing sort() function by supplying string object array, flag value = SORT_REGULAR
97 -- Testing sort() by supplying various object arrays, 'flag' value is defualt --
[all …]
/PHP-5.5/ext/oci8/tests/
H A Drefcur_prefetch_1.phpt58 foreach($pref as $value) {
60 echo "Test with Prefetch value set to $value \n";
63 fetch_frm_php($c,$cur1,$value);
77 oci_set_prefetch($cur1,$value);
116 Test with Prefetch value set to 0
129 Test with Prefetch value set to 1
142 Test with Prefetch value set to 501
159 Test with Prefetch value set to 499
172 Test with Prefetch value set to 250
185 Test with Prefetch value set to 12345
[all …]
H A Dfetch_row.phpt14 "create table fetch_row_tab (id number, value number)",
15 "insert into fetch_row_tab (id, value) values (1,1)",
16 "insert into fetch_row_tab (id, value) values (1,1)",
17 "insert into fetch_row_tab (id, value) values (1,1)",
H A Dprefetch.phpt14 "create table prefetch_tab (id number, value number)",
15 "insert into prefetch_tab (id, value) values (1,1)",
16 "insert into prefetch_tab (id, value) values (1,1)",
17 "insert into prefetch_tab (id, value) values (1,1)",
H A Dprefetch_old.phpt12 "create table prefetch_old_tab (id number, value number)",
13 "insert into prefetch_old_tab (id, value) values (1,1)",
14 "insert into prefetch_old_tab (id, value) values (1,1)",
15 "insert into prefetch_old_tab (id, value) values (1,1)",
H A Ddefault_prefetch.phpt16 "create table default_prefetch_tab (id number, value number)",
17 "insert into default_prefetch_tab (id, value) values (1,1)",
18 "insert into default_prefetch_tab (id, value) values (1,1)",
19 "insert into default_prefetch_tab (id, value) values (1,1)",
H A Ddefault_prefetch0.phpt16 "create table default_prefetch_tab (id number, value number)",
17 "insert into default_prefetch_tab (id, value) values (1,1)",
18 "insert into default_prefetch_tab (id, value) values (1,1)",
19 "insert into default_prefetch_tab (id, value) values (1,1)",
H A Ddefault_prefetch1.phpt16 "create table default_prefetch1_tab (id number, value number)",
17 "insert into default_prefetch1_tab (id, value) values (1,1)",
18 "insert into default_prefetch1_tab (id, value) values (1,1)",
19 "insert into default_prefetch1_tab (id, value) values (1,1)",
H A Ddefault_prefetch2.phpt16 "create table default_prefetch2_tab (id number, value number)",
17 "insert into default_prefetch2_tab (id, value) values (1,1)",
18 "insert into default_prefetch2_tab (id, value) values (1,1)",
19 "insert into default_prefetch2_tab (id, value) values (1,1)",
/PHP-5.5/ext/standard/tests/math/
H A Dfloor_basic.phpt7 /* Prototype : float floor ( float $value )
36 foreach($values as $value) {
37 echo "\n-- floor $value --\n";
38 var_dump(floor($value));
H A Dlog1p_basic.phpt9 * when the value of number is close to zero
30 foreach($values as $value) {
31 echo "\n-- log1p $value --\n";
32 var_dump(log1p($value));
/PHP-5.5/tests/lang/
H A DforeachLoop.002.phpt14 echo "\nModifying the foreach \$value.\n";
22 echo "\nModifying the foreach &\$value.\n";
43 echo "\nPushing elements onto an unreferenced array, using &\$value.\n";
65 echo "\nPopping elements off an unreferenced array, using &\$value.\n";
89 Modifying the foreach $value.
99 Modifying the foreach &$value.
125 Pushing elements onto an unreferenced array, using &$value.
167 Popping elements off an unreferenced array, using &$value.
H A DpassByReference_007.phpt2 Pass function and method calls by reference and by value.
45 echo "Pass a function call that returns a value:\n";
56 echo "\nPass a static method call that returns a value:\n";
68 echo "\nPass a method call that returns a value:\n";
80 Pass a function call that returns a value:
89 Pass a static method call that returns a value:
98 Pass a method call that returns a value:
/PHP-5.5/ext/pcre/tests/
H A Dpreg_match_all_error1.phpt22 print "\nArg value is $regex_value\n";
33 Arg value is abcdef
39 Arg value is /[a-zA-Z]
45 Arg value is [a-zA-Z]/
51 Arg value is /[a-zA-Z]/F
57 Arg value is Array
63 Arg value is /[a-zA-Z]/
/PHP-5.5/ext/standard/tests/strings/
H A Dbug36148.phpt6 foreach ($values as $value) {
7 $a = pack("H*", $value);
9 echo $value.": ";
/PHP-5.5/ext/spl/tests/
H A Dbug54304.phpt2 Bug #54304 (Setting replacement value for RegexIterator doesn't work)
16 foreach ($i as $name=>$value) {
17 var_dump($name, $value);
/PHP-5.5/ext/standard/tests/general_functions/
H A Dvar_export_basic3.phpt16 "-2147483649" => -2147483649, // float value
17 "2147483648" => 2147483648, // float value
18 "-0x80000001" => -0x80000001, // float value, beyond max negative int
19 "0x800000001" => 0x800000001, // float value, beyond max positive int
20 "020000000001" => 020000000001, // float value, beyond max positive int
21 "-020000000001" => -020000000001, // float value, beyond max negative int
/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_statistics.h54 #define MYSQLND_UPDATE_VALUE_AND_CALL_TRIGGER(stats, statistic, value) \ argument
57 (stats)->values[(statistic)] += (value); \
58 MYSQLND_STAT_CALL_TRIGGER((stats), (statistic), (value)); \
80 #define MYSQLND_INC_STATISTIC_W_VALUE(enabler, stats, statistic, value) \ argument
85 uint64_t v = (uint64_t) (value); \
136 #define MYSQLND_INC_CONN_STATISTIC_W_VALUE(conn_stats, statistic, value) \ argument
137 …INC_STATISTIC_W_VALUE(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic), (value)); \
138 MYSQLND_INC_STATISTIC_W_VALUE(MYSQLND_G(collect_statistics), (conn_stats), (statistic), (value));
154 #define MYSQLND_INC_CONN_STATISTIC_W_VALUE(conn_stats, statistic, value) argument

Completed in 108 milliseconds

1...<<11121314151617181920>>...84