Home
last modified time | relevance | path

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

12345678910>>...48

/PHP-8.2/ext/standard/tests/assert/
H A Dassert_basic4.phpt2 assert() - basic - test initial values using ini.get and assert_options
19 echo "Initial values: ini.get(\"assert.active\") => [".ini_get("assert.active")."]\n";
21 echo "Initial values: ini.get(\"assert.bail\") => [".ini_get("assert.bail")."]\n";
25 Initial values: assert_options(ASSERT_ACTIVE) => [0]
26 Initial values: assert_options(ASSERT_WARNING) => [0]
27 Initial values: assert_options(ASSERT_BAIL) => [0]
28 Initial values: assert_options(ASSERT_CALLBACK) => [f1]
29 Initial values: ini.get("assert.active") => [0]
30 Initial values: ini.get("assert.warning") => [0]
31 Initial values: ini.get("assert.bail") => [0]
[all …]
/PHP-8.2/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-8.2/ext/standard/tests/strings/
H A Dvprintf_variation2.phpt2 Test vprintf() function : usage variations - unexpected values for args argument
6 * Test vprintf() when different unexpected values are passed to
31 //array of values to iterate over
32 $values = array(
80 foreach($values as $value) {
102 vprintf(): Argument #2 ($values) must be of type array, int given
105 vprintf(): Argument #2 ($values) must be of type array, int given
108 vprintf(): Argument #2 ($values) must be of type array, int given
111 vprintf(): Argument #2 ($values) must be of type array, int given
129 vprintf(): Argument #2 ($values) must be of type array, null given
[all …]
H A Dnumber_format_basic.phpt7 $values = array(1234.5678,
20 for ($i = 0; $i < count($values); $i++) {
21 $res = number_format($values[$i]);
26 for ($i = 0; $i < count($values); $i++) {
27 $res = number_format($values[$i], 2);
32 for ($i = 0; $i < count($values); $i++) {
33 $res = number_format($values[$i], 2, '.', ' ');
38 for ($i = 0; $i < count($values); $i++) {
39 $res = number_format($values[$i], 2, ',' , ' ');
H A Djoin_variation1.phpt2 Test join() function : usage variations - unexpected values for 'glue' argument
25 // array with different values
26 $values = array (
28 // integer values
34 // float values
41 // array values
48 // boolean values
67 // when $glue argument is supplied with different values
70 for($index = 0; $index < count($values); $index ++) {
72 $glue = $values [$index];
[all …]
H A Dstr_split_variation7.phpt2 Test str_split() function : usage variations - different integer values for 'split_length' with her…
6 * passing different integer values for 'split_length' and heredoc string as 'str' argument to str_s…
9 echo "*** Testing str_split() : different integer values for 'split_length' with heredoc 'str' ***\…
15 //different values for 'split_length'
16 $values = array (
26 //loop through each element of $values for 'split_length'
27 for($count = 0; $count < count($values); $count++) {
31 var_dump( str_split($str, $values[$count]) );
38 *** Testing str_split() : different integer values for 'split_length' with heredoc 'str' ***
/PHP-8.2/ext/standard/tests/array/
H A Darray_merge_recursive_variation9.phpt14 // integer values
20 // float values
23 echo "-- Float values --\n";
26 // string values
32 // boolean values
38 // null values
48 -- Integer values --
62 -- Float values --
76 -- String values --
90 -- Boolean values --
[all …]
H A Darray_flip_variation4.phpt2 Test array_flip() function : usage variations - 'input' argument with different invalid values for …
6 * Trying different invalid values for 'input' array argument
9 echo "*** Testing array_flip() : different invalid values in 'input' array argument ***\n";
25 // float values
31 // bool values
37 // null values
58 *** Testing array_flip() : different invalid values in 'input' array argument ***
60 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d
62 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d
64 Warning: array_flip(): Can only flip string and integer values, entry skipped in %s on line %d
[all …]
H A Duasort_basic2.phpt2 Test uasort() function : basic functionality - duplicate values
20 // increasing values
22 echo "-- Numeric array with increasing values --\n";
26 // decreasing values
28 echo "-- Numeric array with decreasing values --\n";
32 // increasing and decreasing values
34 echo "-- Numeric array with increasing and decreasing values --\n";
41 *** Testing uasort() : basic functionality with duplicate values ***
42 -- Numeric array with increasing values --
58 -- Numeric array with decreasing values --
[all …]
H A Darray_sum_variation7.phpt19 echo "-- array with string values --\n";
24 echo "-- array with bool values --\n";
29 echo "-- array with null values --\n";
56 echo "-- array with object values --\n";
59 // Mixed values
61 echo "-- array with mixed values --\n";
69 -- array with string values --
71 -- array with bool values --
73 -- array with null values --
77 -- array with object values --
[all …]
H A Darray_sum_variation4.phpt2 Test array_sum() function : usage variations - array with duplicate values
6 * Checking array_sum() with integer and float array containing duplicate values
9 echo "*** Testing array_sum() : array with duplicate values ***\n";
11 // integer array with duplicate values
16 // float array with duplicate values
24 *** Testing array_sum() : array with duplicate values ***
H A Dshuffle_variation4.phpt7 * having different types of values, are passed to 'array_arg' argument
14 // array with positive int values
17 // array with negative int values
20 // array with positive float values
23 // array with negative float values
29 // array with bool values
32 // array with positive hexa values
35 // array with negative hexa values
38 // array with positive octal values
41 // array with negative octal values
[all …]
H A Darray_fill_variation3.phpt2 Test array_fill() function : usage variations - unexpected values for 'val' argument
6 * testing array_fill() by passing different unexpected values for 'val' argument
30 //array of different values for 'val' argument
31 $values = array(
47 echo "--- Testing array_fill() with different values for 'val' argument ---\n";
49 for($index = 0; $index < count($values); $index ++)
52 $val = $values[$index];
63 --- Testing array_fill() with different values for 'val' argument ---
H A Dshuffle_variation3.phpt7 * types of values, are passed to 'array_arg' argument
14 // array with positive int values
17 // array with negative int values
20 // array with positive float values
23 // array with negative float values
29 // array with bool values
32 // array with positive hexa values
35 // array with negative hexa values
38 // array with positive octal values
41 // array with negative octal values
[all …]
H A Darray_diff_assoc_variation6.phpt20 //default keys => string values
23 //numeric keys => string values
29 //string keys => string values
35 //default keys => numeric values
38 //numeric keys => numeric values
43 //string keys => numeric values
48 //default keys => float values
51 //numeric keys => float values
56 //string keys => float values
H A Darray_walk_variation3.phpt2 Test array_walk() function : usage variations - 'input' array with different values
15 echo "*** Testing array_walk() : 'input' array with different values***\n";
20 // integer values
26 // string values
29 // bool values
32 // null values
52 *** Testing array_walk() : 'input' array with different values***
/PHP-8.2/ext/pdo_mysql/tests/
H A Dbug_38546.phpt35 $values = [
41 $st->bindParam(1, $values['uid'], PDO::PARAM_INT);
60 $values = [
70 $st->bindParam(4, $values['uid'], PDO::PARAM_INT);
86 $values = [
96 $st->bindParam(4, $values['uid'], PDO::PARAM_INT);
113 $values = [
123 $st->bindParam(4, $values['uid'], PDO::PARAM_INT);
140 $values = [
150 $st->bindParam(4, $values['uid'], PDO::PARAM_INT);
[all …]
/PHP-8.2/ext/pgsql/tests/
H A Dbug65119.phpt13 function test(Array $values, $conn_str) {
17 pg_copy_from($connection, "bug65119", $values, "\t", "NULL");
21 $values = Array(1,2,3);
22 var_dump($values);
23 test($values, $conn_str);
24 var_dump($values);
/PHP-8.2/ext/standard/tests/math/
H A Dnumber_format_basic.phpt5 $values = array(1234.5678,
18 for ($i = 0; $i < count($values); $i++) {
19 $res = number_format($values[$i]);
24 for ($i = 0; $i < count($values); $i++) {
25 $res = number_format($values[$i], 2);
30 for ($i = 0; $i < count($values); $i++) {
31 $res = number_format($values[$i], 2, '.', ' ');
36 for ($i = 0; $i < count($values); $i++) {
37 $res = number_format($values[$i], 2, ',' , ' ');
/PHP-8.2/ext/pdo_dblib/tests/
H A Dbug_38955.phpt16 $db->query("INSERT INTO php_test(val) values(1)");
17 $db->query("INSERT INTO php_test(val) values(2)");
18 $db->query("INSERT INTO php_test(val) values(3)");
19 $db->query("INSERT INTO php_test(val) values(4)");
24 $db->query("INSERT INTO php_test(val) values(5)");
25 $db->query("INSERT INTO php_test(val) values(6)");
26 $db->query("INSERT INTO php_test(val) values(7)");
27 $db->query("INSERT INTO php_test(val) values(8)");
/PHP-8.2/ext/standard/tests/general_functions/
H A Dvar_export_basic7.phpt2 Test var_export() function with valid null values
5 echo "*** Testing var_export() with valid null values ***\n";
7 // different valid null values
18 /* Loop to check for above null values with var_export() */
19 echo "\n*** Output for null values ***\n";
31 *** Testing var_export() with valid null values ***
33 *** Output for null values ***
H A Dvar_export_basic2.phpt2 Test var_export() function with valid boolean values
6 echo "*** Testing var_export() with valid boolean values ***\n";
7 // different valid boolean values
17 /* Loop to check for above boolean values with var_export() */
18 echo "\n*** Output for boolean values ***\n";
30 *** Testing var_export() with valid boolean values ***
32 *** Output for boolean values ***
/PHP-8.2/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-8.2/ext/imap/tests/
H A Dimap_timeout_basic.phpt14 echo "GET values:\n";
20 echo "SET values:\n";
28 echo "CHECK values:\n";
38 GET values:
43 SET values:
47 CHECK values:

Completed in 20 milliseconds

12345678910>>...48