Home
last modified time | relevance | path

Searched refs:values (Results 176 – 200 of 1096) sorted by relevance

12345678910>>...44

/php-src/sapi/fpm/tests/
H A Dresponse.inc504 private array $values;
508 * @param string|array|null $values
515 if ( ! is_array($values)) {
516 if ( ! is_null($values) ) {
519 $this->values = [];
521 $this->values = $values;
535 if ( ! isset($this->values[$name])) {
536 $this->error("Value $name not found in values");
545 * Get values.
551 return $this->values;
[all …]
/php-src/ext/standard/tests/array/
H A Dksort_variation3.phpt2 Test ksort() function : usage variations - sort integer/float values
6 * Testing ksort() by providing array of integer/float/mixed values for $array argument
7 * with following flag values:
25 // set of possible flag values
40 // loop through $flags array and call ksort() with all possible sort flag values
H A Dkrsort_variation3.phpt2 Test krsort() function : usage variations - sort integer/float values
6 * Testing krsort() by providing array of integer/float/mixed values for $array argument
7 * with following flag values:
25 // set of possible flag values
40 // loop through $flags array and call krsort() with all possible sort flag values
H A Darray_filter_variation3.phpt24 array(0, 1, 2, -1, 034, 0X4A), // integer values
25 array(0.0, 1.2, 1.2e3, 1.2e-3), // float values
26 array('value1', "value2", '', " ", ""), // string values
27 array(true, false, TRUE, FALSE), // bool values
28 array(null, NULL), // null values
H A Drsort_variation10.phpt2 Test rsort() function : usage variations - Octal values
6 * Pass rsort() an array containing octal values to test behaviour
11 // an array containing unsorted octal values
H A Dkrsort_variation9.phpt2 Test krsort() function : usage variations - sort array with/without key values
6 * Testing krsort() by providing arrays with/without key values for $array argument
7 * with following flag values:
14 // list of arrays with/without key values
26 echo "\n-- Testing krsort() by supplying various arrays with/without key values --\n";
49 -- Testing krsort() by supplying various arrays with/without key values --
H A Din_array_variation2.phpt2 Test in_array() function : usage variations - different haystack values
5 /* Test in_array() with different possible haystack values */
7 echo "*** Testing in_array() with different haystack values ***\n";
46 *** Testing in_array() with different haystack values ***
H A Dkrsort_variation4.phpt2 Test krsort() function : usage variations - sort octal values
6 * testing krsort() by providing array of octal values for $array argument
7 * with following flag values:
15 // an array containing unsorted octal values
H A Dksort_variation10.phpt2 Test ksort() function : usage variations - sort octal values
6 …* testing ksort() by providing array of octal values for $array argument with following flag value…
14 // an array containing unsorted octal values
H A Darray_intersect_assoc_variation3.phpt35 // heredoc with quoted strings and numeric values
45 /*1*/ array(1, 2), // with default keys and numeric values
46 array(1.1, 2.2), // with default keys & float values
47 array(false,true), // with default keys and boolean values
55 /*9*/ array(1 => "one", 2 => "two", 3 => "three"), // explicit numeric keys, string values
56 array("one" => 1, "two" => 2, "three" => 3 ), // string keys & numeric values
57 array( 1 => 10, 2 => 20, 4 => 40, 3 => 30), // explicit numeric keys and numeric values
61 // associative array, containing null/empty/boolean values as key/value
H A Dnatcasesort_variation8.phpt2 Test natcasesort() function : usage variations - octal values
6 * Pass an array of octal values to test how natcasesort() re-orders it
H A Dusort_variation10.phpt2 Test usort() function : usage variations - duplicate keys and values
6 * Pass an array with duplicate keys and values to usort() to test behaviour
23 // Array with duplicate string and integer keys and values
/php-src/ext/standard/tests/url/
H A Dbase64_encode_basic_002.phpt6 * Test base64_encode with single byte values.
11 $values = array(
26 foreach($values as $str) {
/php-src/ext/pdo_firebird/tests/
H A Dbug_74462.phpt16 $dbh->exec('insert into test74462 (id, abool) values (1, true)');
17 $dbh->exec('insert into test74462 (id, abool) values (2, false)');
18 $dbh->exec('insert into test74462 (id, abool) values (3, null)');
/php-src/ext/intl/msgformat/
H A Dmsgformat.stub.php20 public function format(array $values): string|false {} argument
26 …public static function formatMessage(string $locale, string $pattern, array $values): string|false… argument
/php-src/Zend/tests/type_declarations/union_types/
H A Dtype_checking_weak.phpt21 foreach ($values as $value) {
47 $values = [
51 test('int|float', $values);
52 test('int|float|false', $values);
53 test('int|float|bool', $values);
54 test('int|bool', $values);
55 test('int|string|null', $values);
56 test('string|bool', $values);
57 test('float|array', $values);
58 test('string|array', $values);
[all …]
/php-src/Zend/tests/float_to_int/
H A Dexplicit_casts_should_not_warn.phpt10 $values =[
23 foreach($values as $value) {
H A Dexplicit_casts_should_not_warn_32bit.phpt10 $values =[
23 foreach($values as $value) {
/php-src/ext/standard/tests/general_functions/
H A Dstrval.phpt7 echo "*** Testing str_val() with scalar values***\n";
12 /* heredoc string with only numeric values */
25 // different valid scalar values
95 scalar values and returns the string conversion of same */
102 echo "\n*** Testing strval() with non_scalar values ***\n";
111 // non_scalar values, objects, arrays, resources and boolean
148 *** Testing str_val() with scalar values***
267 *** Testing strval() with non_scalar values ***
/php-src/ext/standard/tests/strings/
H A Dstr_split_variation4.phpt15 // different values for 'str'
16 $values = array(
31 //loop through each element of $values for 'str' argument
32 for($count = 0; $count < count($values); $count++) {
34 var_dump( str_split($values[$count], $split_length) );
H A Dbug36148.phpt5 $values = array("a", "aa", "aaa", "aaaa");
6 foreach ($values as $value) {
H A Dsprintf_variation1.phpt2 Test sprintf() function : usage variations - unexpected values for format argument
6 * Testing sprintf() : with different unexpected values for format argument other than the strings
9 echo "*** Testing sprintf() : with unexpected values for format argument ***\n";
26 //array of values to iterate over
27 $values = array(
69 foreach($values as $value) {
102 *** Testing sprintf() : with unexpected values for format argument ***
/php-src/ext/posix/tests/
H A Dposix_isatty_value_errors.phpt12 $values = [
18 foreach ($values as $value) {
/php-src/ext/filter/tests/
H A D060.phpt10 $values = [
23 $values,
/php-src/ext/date/tests/
H A Dgetdate_variation2.phpt2 Test getdate() function : usage variation - Passing octal timestamp values
10 //array of values to iterate over
13 //octal values

Completed in 32 milliseconds

12345678910>>...44