/php-src/sapi/fpm/tests/ |
H A D | response.inc | 504 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 D | ksort_variation3.phpt | 2 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 D | krsort_variation3.phpt | 2 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 D | array_filter_variation3.phpt | 24 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 D | rsort_variation10.phpt | 2 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 D | krsort_variation9.phpt | 2 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 D | in_array_variation2.phpt | 2 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 D | krsort_variation4.phpt | 2 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 D | ksort_variation10.phpt | 2 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 D | array_intersect_assoc_variation3.phpt | 35 // 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 D | natcasesort_variation8.phpt | 2 Test natcasesort() function : usage variations - octal values 6 * Pass an array of octal values to test how natcasesort() re-orders it
|
H A D | usort_variation10.phpt | 2 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 D | base64_encode_basic_002.phpt | 6 * Test base64_encode with single byte values. 11 $values = array( 26 foreach($values as $str) {
|
/php-src/ext/pdo_firebird/tests/ |
H A D | bug_74462.phpt | 16 $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 D | msgformat.stub.php | 20 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 D | type_checking_weak.phpt | 21 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 D | explicit_casts_should_not_warn.phpt | 10 $values =[ 23 foreach($values as $value) {
|
H A D | explicit_casts_should_not_warn_32bit.phpt | 10 $values =[ 23 foreach($values as $value) {
|
/php-src/ext/standard/tests/general_functions/ |
H A D | strval.phpt | 7 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 D | str_split_variation4.phpt | 15 // 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 D | bug36148.phpt | 5 $values = array("a", "aa", "aaa", "aaaa"); 6 foreach ($values as $value) {
|
H A D | sprintf_variation1.phpt | 2 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 D | posix_isatty_value_errors.phpt | 12 $values = [ 18 foreach ($values as $value) {
|
/php-src/ext/filter/tests/ |
H A D | 060.phpt | 10 $values = [ 23 $values,
|
/php-src/ext/date/tests/ |
H A D | getdate_variation2.phpt | 2 Test getdate() function : usage variation - Passing octal timestamp values 10 //array of values to iterate over 13 //octal values
|