Home
last modified time | relevance | path

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

12345678910>>...72

/PHP-5.5/ext/standard/tests/assert/
H A Dassert_basic4.phpt2 assert() - basic - test initial values using ini.get and assert_options
28 Initial values: assert_options(ASSERT_ACTIVE) => [0]
29 Initial values: assert_options(ASSERT_WARNING) => [0]
30 Initial values: assert_options(ASSERT_BAIL) => [0]
31 Initial values: assert_options(ASSERT_QUIET_EVAL) => [0]
32 Initial values: assert_options(ASSERT_CALLBACK) => [f1]
33 Initial values: ini.get("assert.active") => [0]
34 Initial values: ini.get("assert.warning") => [0]
35 Initial values: ini.get("assert.bail") => [0]
36 Initial values: ini.get("assert.quiet_eval") => [0]
[all …]
/PHP-5.5/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 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_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 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_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_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 ---
/PHP-5.5/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-5.5/ext/standard/tests/strings/
H A Ducwords_variation1.phpt11 * Test ucwords() by passing different values including scalar and non scalar values
30 // array with different values
31 $values = array (
33 // integer values
39 // hex values
45 // octal values
49 // float values
56 // array values
63 // boolean values
100 for($index = 0; $index < count($values); $index ++) {
[all …]
H A Dchop_variation2.phpt2 Test chop() function : usage variations - unexpected values for charlist argument
32 // array with different values
33 $values = array (
35 // integer values
41 // float values
48 // array values
55 // boolean values
68 // null values
85 // when $charlist argument is supplied with different values
89 for($index = 0; $index < count($values); $index ++) {
[all …]
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, ',' , ' ');
H A Dstrncasecmp_variation4.phpt28 /* array with different values */
29 $values = array (
30 /* integer values */
36 /* float values */
43 /* hexadecimal values */
47 /* octal values */
52 /* array values */
59 /* boolean values */
90 $str1 = $values[$index];
91 $str2 = $values[$index];
[all …]
H A Djoin_variation1.phpt2 Test join() function : usage variations - unexpected values for 'glue' argument
35 // array with different values
36 $values = array (
38 // integer values
44 // float values
51 // array values
58 // boolean values
87 // when $glue argument is supplied with different values
90 for($index = 0; $index < count($values); $index ++) {
92 $glue = $values [$index];
[all …]
H A Dstrncasecmp_variation11.phpt28 /* array with different values */
29 $values = array (
30 /* integer values */
36 /* float values */
43 /* hexadecimal values */
47 /* octal values */
52 /* array values */
59 /* boolean values */
90 $str1 = $values[$index];
91 $str2 = $values[$index];
[all …]
H A Dstrncasecmp_variation10.phpt28 /* array with different values */
29 $values = array (
30 /* integer values */
36 /* float values */
43 /* hexadecimal values */
47 /* octal values */
52 /* array values */
59 /* boolean values */
88 for($index = 0; $index < count($values); $index ++) {
90 $str1 = $values[$index];
[all …]
/PHP-5.5/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-5.5/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];
/PHP-5.5/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-5.5/ext/sybase_ct/tests/
H A Dtest_long.phpt20 // Create table and insert some values
22 var_dump(sybase_query('insert test_long values ('.(LONG_MAX - 1).')'));
23 var_dump(sybase_query('insert test_long values ('.(LONG_MAX).')'));
24 var_dump(sybase_query('insert test_long values ('.(LONG_MAX + 1).')'));
25 var_dump(sybase_query('insert test_long values ('.(LONG_MIN + 1).')'));
26 var_dump(sybase_query('insert test_long values ('.(LONG_MIN).')'));
27 var_dump(sybase_query('insert test_long values ('.(LONG_MIN - 1).')'));
29 // Select values

Completed in 31 milliseconds

12345678910>>...72