Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 1367) sorted by relevance

12345678910>>...55

/PHP-7.4/ext/standard/tests/assert/
H A Dassert_basic4.phpt2 assert() - basic - test initial values using ini.get and assert_options
27 Initial values: assert_options(ASSERT_ACTIVE) => [0]
28 Initial values: assert_options(ASSERT_WARNING) => [0]
29 Initial values: assert_options(ASSERT_BAIL) => [0]
30 Initial values: assert_options(ASSERT_QUIET_EVAL) => [0]
31 Initial values: assert_options(ASSERT_CALLBACK) => [f1]
32 Initial values: ini.get("assert.active") => [0]
33 Initial values: ini.get("assert.warning") => [0]
34 Initial values: ini.get("assert.bail") => [0]
35 Initial values: ini.get("assert.quiet_eval") => [0]
[all …]
/PHP-7.4/ext/spl/tests/
H A DSplFixedArray_setSize_destruct.phpt5 $values = new SplFixedArray(1);
6 $values->offsetSet(0, new HasDestructor());
7 $values->offsetSet(0, false);
12 global $values;
13 var_dump($values);
14 $values->setSize($values->getSize() - 1);
15 var_dump($values);
19 $values->setSize(5);
20 $values->offsetSet(4, new HasDestructor());
/PHP-7.4/ext/standard/tests/array/
H A Darray_merge_recursive_variation9.phpt19 // integer values
25 // float values
28 echo "-- Float values --\n";
31 // string values
37 // boolean values
43 // null values
53 -- Integer values --
67 -- Float values --
81 -- String values --
95 -- Boolean values --
[all …]
H A Darray_flip_variation4.phpt11 * Trying different invalid values for 'input' array argument
30 // float values
36 // bool values
42 // null values
63 *** Testing array_flip() : different invalid values in 'input' array argument ***
65 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d
67 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d
69 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d
71 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d
73 Warning: array_flip(): Can only flip STRING and INTEGER values! in %s on line %d
[all …]
H A Duasort_basic2.phpt2 Test uasort() function : basic functionality - duplicate values
14 * Parameters : $value1 and $value2 - values to be compared
15 * Return value : 0 - if both values are same
32 // increasing values
34 echo "-- Numeric array with increasing values --\n";
38 // decreasing values
40 echo "-- Numeric array with decreasing values --\n";
44 // increasing and decreasing values
54 -- Numeric array with increasing values --
70 -- Numeric array with decreasing values --
[all …]
H A Darray_sum_variation7.phpt24 echo "-- array with string values --\n";
29 echo "-- array with bool values --\n";
34 echo "-- array with null values --\n";
61 echo "-- array with object values --\n";
64 // Mixed values
66 echo "-- array with mixed values --\n";
74 -- array with string values --
76 -- array with bool values --
78 -- array with null values --
82 -- array with object values --
[all …]
H A Darray_sum_variation4.phpt2 Test array_sum() function : usage variations - array with duplicate values
11 * Checking array_sum() with integer and float array containing duplicate values
14 echo "*** Testing array_sum() : array with duplicate values ***\n";
16 // integer array with duplicate values
21 // float array with duplicate values
29 *** Testing array_sum() : array with duplicate values ***
H A Dshuffle_variation3.phpt12 * types of values, are passed to 'array_arg' argument
19 // array with positive int values
22 // array with negative int values
25 // array with positive float values
28 // array with negative float values
34 // array with bool values
37 // array with positive hexa values
40 // array with negative hexa values
43 // array with positive octal values
46 // array with negative octal values
[all …]
H A Dshuffle_variation4.phpt12 * having different types of values, are passed to 'array_arg' argument
19 // array with positive int values
22 // array with negative int values
25 // array with positive float values
28 // array with negative float values
34 // array with bool values
37 // array with positive hexa values
40 // array with negative hexa values
43 // array with positive octal values
46 // array with negative octal values
[all …]
H A Darray_combine_variation6.phpt5 /* Prototype : array array_combine(array $keys, array $values)
7 * and the elements of the second as the corresponding values
13 * binary values for $keys and $values argument.
18 // array with binary values
22 // array with binary value for $keys and $values argument
25 // array with binary value for $values argument
H A Darray_combine_variation5.phpt2 Test array_combine() function : usage variations - associative array with different values(Bug#4342…
5 /* Prototype : array array_combine(array $keys, array $values)
7 * and the elements of the second as the corresponding values
13 * associative arrays having different possible values to $keys argument and
14 * associative arrays having different possible values to $values argument.
17 echo "*** Testing array_combine() : assoc array with diff values to both \$keys and \$values argume…
45 // arrays with integer values
50 // arrays with float values
54 // arrays with string values
62 // array with mixed values
[all …]
H A Darray_walk_variation3.phpt2 Test array_walk() function : usage variations - 'input' array with different values
18 * Parameters : $value - array entries(values)
21 * Description : prints the array values with keys and count value
28 echo "*** Testing array_walk() : 'input' array with different values***\n";
33 // integer values
39 // string values
42 // bool values
45 // null values
65 *** Testing array_walk() : 'input' array with different values***
H A Darray_fill_variation3.phpt2 Test array_fill() function : usage variations - unexpected values for 'val' argument
11 * testing array_fill() by passing different unexpected values for 'val' argument
35 //array of different values for 'val' argument
36 $values = array(
52 echo "--- Testing array_fill() with different values for 'val' argument ---\n";
54 for($index = 0; $index < count($values); $index ++)
57 $val = $values[$index];
68 --- Testing array_fill() with different values for 'val' argument ---
H A Darray_diff_assoc_variation6.phpt6 * Description: Returns the entries of $arr1 that have values which are not
26 //default keys => string values
29 //numeric keys => string values
35 //string keys => string values
41 //default keys => numeric values
44 //numeric keys => numeric values
49 //string keys => numeric values
54 //defualt keys => float values
57 //numeric keys => float values
62 //string keys => float values
H A Darray_walk_recursive_variation3.phpt2 Test array_walk_recursive() function : usage variations - 'input' array with different values
18 * Parameters : $value - array entries(values)
21 * Description : prints the array values with keys and count value
28 echo "*** Testing array_walk_recursive() : 'input' array with different values***\n";
33 // integer values
39 // string values
42 // bool values
45 // null values
65 *** Testing array_walk_recursive() : 'input' array with different values***
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug_38546.phpt33 $values = [
39 $st->bindParam(1, $values['uid'], PDO::PARAM_INT);
58 $values = [
68 $st->bindParam(4, $values['uid'], PDO::PARAM_INT);
84 $values = [
94 $st->bindParam(4, $values['uid'], PDO::PARAM_INT);
111 $values = [
121 $st->bindParam(4, $values['uid'], PDO::PARAM_INT);
138 $values = [
148 $st->bindParam(4, $values['uid'], PDO::PARAM_INT);
[all …]
/PHP-7.4/ext/pgsql/tests/
H A Dbug65119.phpt11 function test(Array $values, $conn_str) {
15 pg_copy_from($connection, "bug65119", $values, "\t", "NULL");
19 $values = Array(1,2,3);
20 var_dump($values);
21 test($values, $conn_str);
22 var_dump($values);
/PHP-7.4/ext/standard/tests/math/
H A Dnumber_format_basic.phpt5 $values = array(1234.5678,
19 for ($i = 0; $i < count($values); $i++) {
20 $res = number_format($values[$i]);
25 for ($i = 0; $i < count($values); $i++) {
26 $res = number_format($values[$i], 2);
31 for ($i = 0; $i < count($values); $i++) {
32 $res = number_format($values[$i], 2, '.', ' ');
37 for ($i = 0; $i < count($values); $i++) {
38 $res = number_format($values[$i], 2, ',' , ' ');
H A Dnumber_format_multichar.phpt5 $values = array(1234.5678,
19 for ($i = 0; $i < count($values); $i++) {
20 $res = number_format($values[$i], 2, '&#183;', ' ');
25 for ($i = 0; $i < count($values); $i++) {
26 $res = number_format($values[$i], 2, '.' , '&thinsp;');
31 for ($i = 0; $i < count($values); $i++) {
32 $res = number_format($values[$i], 2, '&#183;' , '&thinsp;');
/PHP-7.4/Zend/tests/
H A Dbug30889.phpt7 private $values;
10 $this->values = array('a' => 0);
14 print "set $name = $value ($name was ".$this->values[$name].")\n";
15 $this->values[$name] = $value;
19 print "get $name (returns ".$this->values[$name].")\n";
20 return $this->values[$name];
H A Dlist_destructuring_to_special_variables.phpt7 public $values = [];
9 $this->values[$name] = $value;
14 public $values = [];
16 $this->values[$name] = $value;
29 var_dump($obj->values);
33 var_dump($arr->values);
/PHP-7.4/ext/pdo_dblib/tests/
H A Dbug_38955.phpt15 $db->query("INSERT INTO php_test(val) values(1)");
16 $db->query("INSERT INTO php_test(val) values(2)");
17 $db->query("INSERT INTO php_test(val) values(3)");
18 $db->query("INSERT INTO php_test(val) values(4)");
23 $db->query("INSERT INTO php_test(val) values(5)");
24 $db->query("INSERT INTO php_test(val) values(6)");
25 $db->query("INSERT INTO php_test(val) values(7)");
26 $db->query("INSERT INTO php_test(val) values(8)");
/PHP-7.4/ext/standard/tests/general_functions/
H A Dvar_export_basic2.phpt2 Test var_export() function with valid boolean values
12 echo "*** Testing var_export() with valid boolean values ***\n";
13 // different valid boolean values
23 /* Loop to check for above boolean values with var_export() */
24 echo "\n*** Output for boolean values ***\n";
37 *** Testing var_export() with valid boolean values ***
39 *** Output for boolean values ***
H A Dvar_export_basic7.phpt2 Test var_export() function with valid null values
11 echo "*** Testing var_export() with valid null values ***\n";
13 // different valid null values
24 /* Loop to check for above null values with var_export() */
25 echo "\n*** Output for null values ***\n";
38 *** Testing var_export() with valid null values ***
40 *** Output for null values ***
/PHP-7.4/ext/standard/tests/strings/
H A Dnumber_format_basic.phpt13 $values = array(1234.5678,
27 for ($i = 0; $i < count($values); $i++) {
28 $res = number_format($values[$i]);
33 for ($i = 0; $i < count($values); $i++) {
34 $res = number_format($values[$i], 2);
39 for ($i = 0; $i < count($values); $i++) {
40 $res = number_format($values[$i], 2, '.', ' ');
45 for ($i = 0; $i < count($values); $i++) {
46 $res = number_format($values[$i], 2, ',' , ' ');

Completed in 35 milliseconds

12345678910>>...55